dawarich/db/migrate/20250303194043_add_lonlat_index_to_places.rb

10 lines
213 B
Ruby
Raw Permalink Normal View History

2025-03-03 14:50:49 -05:00
# 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