mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
6 lines
191 B
Ruby
6 lines
191 B
Ruby
class AddAccountRegistrarFk < ActiveRecord::Migration[6.0]
|
|
def change
|
|
change_column :accounts, :registrar_id, :integer, null: false
|
|
add_foreign_key :accounts, :registrars
|
|
end
|
|
end
|