15 lines
361 B
Ruby
15 lines
361 B
Ruby
|
require 'carto/db/migration_helper'
|
||
|
|
||
|
include Carto::Db::MigrationHelper
|
||
|
|
||
|
migration(
|
||
|
Proc.new do
|
||
|
set_column_default :organizations, :builder_enabled, true
|
||
|
set_column_default :users, :builder_enabled, true
|
||
|
end,
|
||
|
Proc.new do
|
||
|
set_column_default :organizations, :builder_enabled, false
|
||
|
set_column_default :users, :builder_enabled, false
|
||
|
end
|
||
|
)
|