-
Notifications
You must be signed in to change notification settings - Fork 655
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
Ghost tables visualization_backups migration STEP 2 #14749
Conversation
Proc.new do | ||
drop_table :visualization_backups | ||
create_table :visualization_backups do | ||
Uuid :id, primary_key: true, default: Sequel.lit('uuid_generate_v4()') |
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.
Use 2 (not 4) spaces for indentation.
Unnecessary spacing detected.
Put one space between the method name and the first argument.
@@ -0,0 +1,26 @@ | |||
require 'carto/db/migration_helper' | |||
|
|||
include Carto::Db::MigrationHelper |
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.
include is used at the top level. Use inside class or module.
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.
Some questions
@oleurud ready to test in staging after the tests are fixed |
The tests won't be green until #14744 will be merged |
Step 2 of the migration related to #14698
Don't merge after #14744 will be deployed (the tests will fail until the deploy too)