mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
11 lines
239 B
Ruby
11 lines
239 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FixFranceCodes < ActiveRecord::Migration[8.0]
|
|
def up
|
|
Country.find_by(name: 'France')&.update(iso_a2: 'FR', iso_a3: 'FRA')
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|