aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorAlvaro Bautista <alvarobp@gmail.com>2011-12-21 01:10:17 +0100
committerJon Leighton <j@jonathanleighton.com>2011-12-23 18:22:42 +0000
commit6b9ab88a48c9625737a5603a0ac5dc60c25a88d9 (patch)
treef8912110027464b4dfe483890b6822fea281f1c8 /activerecord/test/schema
parent824334c15c21de6768eda64053135bc46f2a67bb (diff)
downloadrails-6b9ab88a48c9625737a5603a0ac5dc60c25a88d9.tar.gz
rails-6b9ab88a48c9625737a5603a0ac5dc60c25a88d9.tar.bz2
rails-6b9ab88a48c9625737a5603a0ac5dc60c25a88d9.zip
serialize fails on subclass
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 bb08f5c181..5933e1f46e 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -607,8 +607,10 @@ ActiveRecord::Schema.define do
# Oracle SELECT WHERE clause which causes many unit test failures
if current_adapter?(:OracleAdapter)
t.string :content, :limit => 4000
+ t.string :important, :limit => 4000
else
t.text :content
+ t.text :important
end
t.boolean :approved, :default => true
t.integer :replies_count, :default => 0