You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
414 B
22 lines
414 B
Sequel.migration do
|
|
up do
|
|
alter_table :organizations do
|
|
add_column :builder_enabled, :boolean, null: false, default: false
|
|
end
|
|
|
|
alter_table :users do
|
|
set_column_default :builder_enabled, false
|
|
end
|
|
end
|
|
|
|
down do
|
|
alter_table :organizations do
|
|
drop_column :builder_enabled
|
|
end
|
|
|
|
alter_table :users do
|
|
set_column_default :builder_enabled, true
|
|
end
|
|
end
|
|
end
|