Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Order Fix #6

Merged
merged 7 commits into from May 27, 2015
Merged

Source Order Fix #6

merged 7 commits into from May 27, 2015

Conversation

TBSliver
Copy link
Contributor

Fix for an issue where when inserting data into a database, the tables were being sorted alphabetically, rather than in dependency order. This meant that when a table such as Author depended on a table such as Publisher to already be populated, then the entire population step would fail - at least in PostgreSQL. This fix uses a stripped down version of the sorting algorithm from SQL::Translator.

@jjn1056
Copy link
Contributor

jjn1056 commented May 26, 2015

This is going to be awesome, great work. I'll merge it up and shipt it, just give me a bit to review. !

@dbsrgits-sync dbsrgits-sync force-pushed the people/TBSliver/source_order_fix branch from fa1991c to caafa76 Compare May 27, 2015 14:44
@dbsrgits-sync dbsrgits-sync merged commit caafa76 into master May 27, 2015
@dbsrgits-sync dbsrgits-sync deleted the people/TBSliver/source_order_fix branch March 9, 2016 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants