diff options
author | Andrey Voronkov <voronkovaa@gmail.com> | 2012-05-09 19:20:14 +0400 |
---|---|---|
committer | Andrey Voronkov <voronkovaa@gmail.com> | 2012-05-09 19:20:14 +0400 |
commit | 3c0bf0435cfbc7a349faec5e1b5631e506b5dc70 (patch) | |
tree | a56031a9fbe8fef1d3459b7912e9dffb0e6a7d9c /activerecord/test/schema | |
parent | fed97091b9546d369a240d10b184793d49247dd3 (diff) | |
download | rails-3c0bf0435cfbc7a349faec5e1b5631e506b5dc70.tar.gz rails-3c0bf0435cfbc7a349faec5e1b5631e506b5dc70.tar.bz2 rails-3c0bf0435cfbc7a349faec5e1b5631e506b5dc70.zip |
Custom coders support for ActiveRecord::Store. JSON, YAML, Marshal can be used out of the box.
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 |