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

15 lines
250 B
Ruby

Sequel.migration do
up do
SequelRails.connection.run(%Q{
CREATE INDEX layers_parent_id_idx ON layers (parent_id)
})
end
down do
SequelRails.connection.run(%Q{
DROP INDEX IF EXISTS layers_parent_id_idx
})
end
end