From 3c0bf0435cfbc7a349faec5e1b5631e506b5dc70 Mon Sep 17 00:00:00 2001 From: Andrey Voronkov Date: Wed, 9 May 2012 19:20:14 +0400 Subject: Custom coders support for ActiveRecord::Store. JSON, YAML, Marshal can be used out of the box. --- activerecord/test/schema/schema.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/test/schema') 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 -- cgit v1.2.3