-
Notifications
You must be signed in to change notification settings - Fork 106
Use existing dbactions in op_alter_column
#879
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
Conversation
44b15a5
to
ab6d1d0
Compare
ab6d1d0
to
12a92f1
Compare
12a92f1
to
c659fd5
Compare
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
conn, | ||
table.Name, | ||
NotNullConstraintName(o.Column.Name), | ||
fmt.Sprintf("%s IS NOT NULL", o.Column.Name), |
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.
I am not passing TemporaryName(o.Column.Name)
because the action takes care of rewriting the check expression.
conn, | ||
table.Name, | ||
o.Column.Check.Name, | ||
o.Column.Check.Constraint, |
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.
I am not rewriting the expression here because the action takes care of it.
conn, | ||
table.Name, | ||
NotNullConstraintName(o.Column), | ||
fmt.Sprintf("%s IS NOT NULL", o.Column), |
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.
I am not rewriting the expression here because the action takes care of it.
Related #742