mysql bug
This commit is contained in:
parent
e35fe64b9e
commit
7e9fab3abe
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class CreateRequests < ActiveRecord::Migration
|
||||||
t.timestamps null: false
|
t.timestamps null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
add_foreign_key :request, :users, column: :creditor_id
|
add_foreign_key :requests, :users, column: :creditor_id
|
||||||
add_foreign_key :request, :users, column: :debtor_id
|
add_foreign_key :requests, :users, column: :debtor_id
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue