mirror of https://github.com/rails/rails
Fix test with add_foreign_key DSL in 9d21ef9
This commit is contained in:
parent
0aeb490dc4
commit
0418633919
|
@ -83,7 +83,7 @@ ActiveRecord::Schema.define do
|
||||||
|
|
||||||
create_table :author_addresses, force: true do |t|
|
create_table :author_addresses, force: true do |t|
|
||||||
end
|
end
|
||||||
add_foreign_key :authors, :author_address
|
add_foreign_key :authors, :author_addresses
|
||||||
|
|
||||||
create_table :author_favorites, force: true do |t|
|
create_table :author_favorites, force: true do |t|
|
||||||
t.column :author_id, :integer
|
t.column :author_id, :integer
|
||||||
|
|
Loading…
Reference in New Issue