cartodb-4.42/db/migrate/20140303120018_add_index_on_geocodings.rb

10 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 INDEX geocodings_user_id_created_at ON geocodings(user_id, created_at)")
end
down do
SequelRails.connection.run("DROP INDEX geocodings_user_id_created_at")
end
end