aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2014-07-12 05:42:49 +0900
committerYasuo Honda <yasuo.honda@gmail.com>2014-07-14 21:54:17 +0900
commitfc4680425817a5fcfbaba970201fecee7cb8491d (patch)
treeb6f9e4c62abbb37d4b70b29e30e209a089fb2901 /activerecord/test/schema
parentdefc68004d2a8d3d66d5f4893e34ba9917d97e83 (diff)
downloadrails-fc4680425817a5fcfbaba970201fecee7cb8491d.tar.gz
rails-fc4680425817a5fcfbaba970201fecee7cb8491d.tar.bz2
rails-fc4680425817a5fcfbaba970201fecee7cb8491d.zip
Address ORA-00972: identifier is too long when tested with Oracle
by using shorter attribute names.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 932c9ba5d9..146190fc19 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -781,8 +781,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 :poly_man_without_inverse_id
+ t.string :poly_man_without_inverse_type
t.integer :horrible_polymorphic_man_id
t.string :horrible_polymorphic_man_type
end