-
Notifications
You must be signed in to change notification settings - Fork 26
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 support for altering sequences #113
Add support for altering sequences #113
Conversation
74454c6
to
1b2cde4
Compare
1b2cde4
to
32100a9
Compare
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.
LGTM
@@ -640,6 +598,74 @@ var sequenceAcceptanceTests = []acceptanceTestCase{ | |||
diff.MigrationHazardTypeDeletesData, | |||
}, | |||
}, | |||
{ |
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.
It might make sense to include some test cases with NO MINVALUE
and NO MAXVALUE
, particularly when there's a type change? I'm not really sure what the behavior should be in that scenario since the defaults would change...
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.
Solid points. Added some test cases for those scenarios.
Description
Add support for altering sequences
Motivation
Fixes #110
Testing
Tested with unit tests