You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
433 B
22 lines
433 B
Sequel.migration do
|
|
up do
|
|
alter_table :layers do
|
|
set_column_default :options, '{}'
|
|
end
|
|
alter_table :overlays do
|
|
set_column_default :options, '{}'
|
|
set_column_default "order", 0
|
|
end
|
|
end
|
|
|
|
down do
|
|
alter_table :layers do
|
|
set_column_default :options, nil
|
|
end
|
|
alter_table :overlays do
|
|
set_column_default :options, nil
|
|
set_column_default "order", nil
|
|
end
|
|
end
|
|
end
|