-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add FKs in populate step of migration #238
Conversation
Tested against full test copy of CRMP database, with success. Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of cleanup comments, but the bulk of this logic seems sound, even if I am surprised at the performance difference!
Tests pass on clean checkout. Trusting Rod that data looks correct in actual TestDB usage :)
pycds/alembic/versions/a59d64cf16ca_add_hx_tkg_to_main_metadata_tables.py
Show resolved
Hide resolved
Awaiting a couple more verifications of application to test database, then ready to merge. |
It is infeasible to do it during (triggers) or after (bulk update), so we do it as part of the populate insert. So much better!