diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index be134fde11..a9a4acdfce 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -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