cartodb-4.42/db/migrate/20150608074328_create_layers_parent_id_index.rb

15 lines
250 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 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