cartodb-4.42/db/migrate/20150813102733_add_visualization_id_index_to_synchronizations.rb

14 lines
300 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
Sequel.migration do
up do
SequelRails.connection.run(%Q{
CREATE INDEX synchronizations_visualization_id_idx ON synchronizations (visualization_id)
})
end
down do
SequelRails.connection.run(%Q{
DROP INDEX IF EXISTS synchronizations_visualization_id_idx
})
end
end