cartodb-4.42/db/migrate/20161123112051_allow_nulls_in_engine_enabled.rb
2024-04-06 05:25:13 +00:00

17 lines
281 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
alter_table :users do
set_column_allow_null :engine_enabled
end
end,
Proc.new do
alter_table :users do
set_column_not_null :engine_enabled
end
end
)