aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-06-13 18:19:18 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-06-13 18:19:18 -0300
commit4c0a1021e51bfb8f3623480f577f7f52d83a0fc7 (patch)
tree2aaff660948a48ff70a4351446f9f1a1a8908ea5 /activerecord/test/schema
parentc28e436aae4a13225d86e00094a5fa72d82fc297 (diff)
parent9feadc11a71b655dd7748c0f3a92bc411c9e63c2 (diff)
downloadrails-4c0a1021e51bfb8f3623480f577f7f52d83a0fc7.tar.gz
rails-4c0a1021e51bfb8f3623480f577f7f52d83a0fc7.tar.bz2
rails-4c0a1021e51bfb8f3623480f577f7f52d83a0fc7.zip
Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_of
prevent bad automatic inverse_of association
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 98fd0b6803..a7c7fc70bc 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -775,6 +775,8 @@ ActiveRecord::Schema.define do
t.integer :man_id
t.integer :polymorphic_man_id
t.string :polymorphic_man_type
+ t.integer :polymorphic_man_without_inverse_id
+ t.string :polymorphic_man_without_inverse_type
t.integer :horrible_polymorphic_man_id
t.string :horrible_polymorphic_man_type
end