mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
parent
e2ebe0aa84
commit
b545bc9767
2 changed files with 15 additions and 0 deletions
5
db/migrate/20171009080822_add_user_registrar_id_fk.rb
Normal file
5
db/migrate/20171009080822_add_user_registrar_id_fk.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddUserRegistrarIdFk < ActiveRecord::Migration
|
||||
def change
|
||||
add_foreign_key :users, :registrars, name: 'user_registrar_id_fk'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue