cartodb-4.29/db/migrate/20150125201100_drop_basemap_options.rb
2020-06-15 10:58:47 +08:00

13 lines
640 B
Ruby

Sequel.migration do
up do
SequelRails::connection.run 'ALTER TABLE organizations DROP COLUMN IF EXISTS here_maps_enabled'
SequelRails::connection.run 'ALTER TABLE organizations DROP COLUMN IF EXISTS stamen_maps_enabled'
SequelRails::connection.run 'ALTER TABLE organizations DROP COLUMN IF EXISTS rainbow_maps_enabled'
SequelRails::connection.run 'ALTER TABLE users DROP COLUMN IF EXISTS here_maps_enabled'
SequelRails::connection.run 'ALTER TABLE users DROP COLUMN IF EXISTS stamen_maps_enabled'
SequelRails::connection.run 'ALTER TABLE users DROP COLUMN IF EXISTS rainbow_maps_enabled'
end
down do
end
end