diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-06-27 15:44:03 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-06-27 15:44:03 -0700 |
commit | 6a1af00d7046ee59cdb950bd367c77b9f3b8e516 (patch) | |
tree | ad904bdfdaf6c418d6e4ae958f125e63604dde2c /activerecord/test/schema | |
parent | 0aeb490dc48c39c1bfaf8b8ff772c266a9cde867 (diff) | |
parent | 04186339195f4b60ac5313e5dd3b2faa56ce7651 (diff) | |
download | rails-6a1af00d7046ee59cdb950bd367c77b9f3b8e516.tar.gz rails-6a1af00d7046ee59cdb950bd367c77b9f3b8e516.tar.bz2 rails-6a1af00d7046ee59cdb950bd367c77b9f3b8e516.zip |
Merge pull request #15949 from pcreux/fix-add-foreign-key-in-test
Fix test with `add_foreign_key` DSL
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |