mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
10 lines
224 B
Ruby
10 lines
224 B
Ruby
class AddReferenceNoToRegistrar < ActiveRecord::Migration
|
|
def change
|
|
add_column :registrars, :reference_no, :string
|
|
|
|
Registrar.all.each do |x|
|
|
x.generate_iso_11649_reference_no
|
|
x.save
|
|
end
|
|
end
|
|
end
|