mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #15949 from pcreux/fix-add-foreign-key-in-test
Fix test with `add_foreign_key` DSL
This commit is contained in:
commit
6a1af00d70
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ ActiveRecord::Schema.define do
|
|||
|
||||
create_table :author_addresses, force: true do |t|
|
||||
end
|
||||
add_foreign_key :authors, :author_address
|
||||
add_foreign_key :authors, :author_addresses
|
||||
|
||||
create_table :author_favorites, force: true do |t|
|
||||
t.column :author_id, :integer
|
||||
|
|
Loading…
Reference in a new issue