dawarich/db/migrate/20250303194043_add_lonlat_index_to_places.rb
2025-03-03 20:50:49 +01:00

9 lines
213 B
Ruby

# frozen_string_literal: true
class AddLonlatIndexToPlaces < ActiveRecord::Migration[8.0]
disable_ddl_transaction!
def change
add_index :places, :lonlat, using: :gist, algorithm: :concurrently
end
end