cartodb-4.42/db/migrate/20150119142004_add_active_child_to_visualizations.rb

11 lines
244 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
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