diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 20:12:00 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 20:12:00 -0300 |
commit | 1839ecd2288680dba8533610eb4c9dfe2ab6326e (patch) | |
tree | 7eb638283ab335733c9cde96b9cdf8c5a0f9ac39 /activerecord/test/schema | |
parent | 71931e2ef1cd028654537b6b9ed8f9cfc8bc54f5 (diff) | |
download | rails-1839ecd2288680dba8533610eb4c9dfe2ab6326e.tar.gz rails-1839ecd2288680dba8533610eb4c9dfe2ab6326e.tar.bz2 rails-1839ecd2288680dba8533610eb4c9dfe2ab6326e.zip |
MySQL doesn't allow default values for blobs.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 464fdba555..6422cf6415 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -41,8 +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.string :json_data, :null => true, :limit => 1024 + t.string :json_data_empty, :null => false, :default => "", :limit => 1024 t.references :account end |