mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
10 lines
279 B
Ruby
10 lines
279 B
Ruby
class AddCountryNameToPoints < ActiveRecord::Migration[8.0]
|
|
disable_ddl_transaction!
|
|
|
|
def change
|
|
add_column :points, :country_name, :string
|
|
add_index :points, :country_name, algorithm: :concurrently
|
|
|
|
DataMigrations::BackfillCountryNameJob.perform_later
|
|
end
|
|
end
|