cartodb-4.42/db/migrate/20150125201100_drop_basemap_options.rb
2024-04-06 05:25:13 +00: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