cartodb-4.42/db/migrate/20150813102733_add_visualization_id_index_to_synchronizations.rb
2024-04-06 05:25:13 +00:00

14 lines
300 B
Ruby

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