1
0
Fork 0
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:
Godfrey Chan 2014-06-27 15:44:03 -07:00
commit 6a1af00d70

View file

@ -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