Migration to allow nulls in users.engine_enabled

pull/10798/head
Javier Torres 8 years ago
parent 8ba07c860b
commit 3ea77a52ac

@ -0,0 +1,16 @@
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
)
Loading…
Cancel
Save