-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
Stop using LockCol in registrations table #7935
Conversation
Alter the `LockCol` column to be nullable, so that we can stop using it.
@jprenken, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values. |
IN-10959 |
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.
This looks great. A note for other reviewers: the first time I looked at this migration the ALTER COLUMN
syntax caught me by surprise. I'm used to seeing MODIFY COLUMN
from MySQL. But since at least MariaDB 10.2 this has been part of the broader ALTER TABLE
functionality
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. The LockCol that used to be on the certificateStatus table had a DEFAULT 0
before we dropped it, so this makes sense as the correct step towards dropping this column entirely.
Alter the
LockCol
column to have a default value, so we can omit it fromINSERT
s.Part of #7934