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