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

17 lines
277 B
Ruby

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