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:19:25 +0000
commit30ce084bbfbdc4ba877349af4964445cf16295ce (patch)
tree4f7c00882c322e31cb3a855744bbf79e36d06ae1 /activerecord/test/schema
parenta64ab959874681817c105f4cc6ce8b90b8bde545 (diff)
downloadrails-30ce084bbfbdc4ba877349af4964445cf16295ce.tar.gz
rails-30ce084bbfbdc4ba877349af4964445cf16295ce.tar.bz2
rails-30ce084bbfbdc4ba877349af4964445cf16295ce.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