cartodb/db/migrate/20160624101145_add_builder_enabled_to_users.rb

10 lines
338 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
change do
alter_table :users do
# True and false automatically redirect the user to the builder/editor respectively
# Null is allowed to deactivate redirection, so the user can choose editor by changing the URL
add_column :builder_enabled, :boolean, null: true, default: true
end
end
end