dawarich/db/migrate/20250515192211_add_country_id_to_points.rb
2025-05-16 18:51:48 +02:00

9 lines
213 B
Ruby

# frozen_string_literal: true
class AddCountryIdToPoints < ActiveRecord::Migration[8.0]
disable_ddl_transaction!
def change
add_reference :points, :country, index: { algorithm: :concurrently }
end
end