cartodb-4.29/db/migrate/20151028114700_remove_country_codes_to_visualizations.rb

14 lines
239 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
up do
alter_table :visualizations do
drop_column :country_codes
end
end
down do
SequelRails.connection.run(%{
ALTER TABLE "visualizations" ADD COLUMN country_codes text[]
})
end
end