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

11 lines
244 B
Ruby

Sequel.migration do
up do
SequelRails::connection.run 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp"'
add_column :visualizations, :active_child, :uuid, null: true
end
down do
drop_column :visualizations, :active_child
end
end