diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 15:02:31 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 15:02:31 -0700 |
commit | f443e119cd448b78bcb1584d7a9bd8b5775b5577 (patch) | |
tree | 417f2008e72dd69dc20dd34b51b7414d4cb80138 /activerecord/test/schema | |
parent | d3c83a4e8ef02560cdc5d1e22938c4fa1919355b (diff) | |
parent | 3c0bf0435cfbc7a349faec5e1b5631e506b5dc70 (diff) | |
download | rails-f443e119cd448b78bcb1584d7a9bd8b5775b5577.tar.gz rails-f443e119cd448b78bcb1584d7a9bd8b5775b5577.tar.bz2 rails-f443e119cd448b78bcb1584d7a9bd8b5775b5577.zip |
Merge pull request #5807 from Antiarchitect/store-improvement
Custom coders support for ActiveRecord::Store.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index cef08cd99c..464fdba555 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -41,6 +41,8 @@ ActiveRecord::Schema.define do # MySQL does not allow default values for blobs. Fake it out with a # big varchar below. t.string :preferences, :null => false, :default => '', :limit => 1024 + t.text :json_data, :null => true + t.text :json_data_empty, :null => false, :default => "" t.references :account end |