cartodb/db/migrate/20151002104452_remove_parent_id_from_layers.rb
2020-06-15 10:58:47 +08:00

14 lines
204 B
Ruby

Sequel.migration do
up do
alter_table :layers do
drop_column :parent_id
end
end
down do
alter_table :layers do
add_column :parent_id, :uuid, :null => true
end
end
end