dawarich/db/migrate/20250515192211_add_country_id_to_points.rb

10 lines
213 B
Ruby
Raw Permalink Normal View History

2025-05-16 12:51:48 -04:00
# frozen_string_literal: true
class AddCountryIdToPoints < ActiveRecord::Migration[8.0]
disable_ddl_transaction!
def change
add_reference :points, :country, index: { algorithm: :concurrently }
end
end