-
Notifications
You must be signed in to change notification settings - Fork 69
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
change memberships_history pkey #3083
change memberships_history pkey #3083
Conversation
Quality Gate passedIssues Measures |
@@ -147,7 +147,7 @@ def upgrade(): | |||
sa.Column("modified_by_id", sa.Integer(), autoincrement=False, nullable=True), | |||
sa.Column("version", sa.Integer(), autoincrement=False, nullable=False), | |||
sa.Column("changed", sa.DateTime(), nullable=True), | |||
sa.PrimaryKeyConstraint("id", "version"), | |||
sa.PrimaryKeyConstraint("id", "changed"), |
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.
new migration to handle this?
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.
already changed the key manually. wanted to verify it in dev/test first
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.
looks like it will remain busted on my computer until I change it or dump the db then haha
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.
sorry for the inconvenience, that migration file already had a few updates, thought no one will notice
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.
all good haha
Issue #:
https://github.com/bcgov/entity/issues/
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).