cartodb-4.42/db/migrate/20151028094000_add_country_codes_to_visualizations.rb

14 lines
239 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
Sequel.migration do
up do
SequelRails.connection.run(%{
ALTER TABLE "visualizations" ADD COLUMN country_codes text[]
})
end
down do
alter_table :visualizations do
drop_column :country_codes
end
end
end