diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-27 17:32:38 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-27 17:32:38 -0300 |
commit | 3f596f8ad37bcebbccbc51ee0190d2949abdc69d (patch) | |
tree | 830ef126700bd501a0afc73c3820d1daec0c2889 /activerecord/test/schema | |
parent | 9d21ef9388cd16a9c1e8d356a1ba15895451c873 (diff) | |
download | rails-3f596f8ad37bcebbccbc51ee0190d2949abdc69d.tar.gz rails-3f596f8ad37bcebbccbc51ee0190d2949abdc69d.tar.bz2 rails-3f596f8ad37bcebbccbc51ee0190d2949abdc69d.zip |
Do not change the global state of the test suite
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 03d33c151a..be134fde11 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -83,6 +83,7 @@ ActiveRecord::Schema.define do create_table :author_addresses, force: true do |t| end + add_foreign_key :authors, :author_address create_table :author_favorites, force: true do |t| t.column :author_id, :integer |