14 lines
239 B
Ruby
14 lines
239 B
Ruby
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
|