diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2012-07-26 00:34:55 +0900 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2012-07-26 02:19:23 +0900 |
commit | 05895c6c861597fcefb3114d78dc6cb676fec433 (patch) | |
tree | 9933692c8c2c767ca95d818b1193a059e9857c9c /activerecord/test/schema | |
parent | c324f426a84833c0fa73015d2e0b081a3ace5291 (diff) | |
download | rails-05895c6c861597fcefb3114d78dc6cb676fec433.tar.gz rails-05895c6c861597fcefb3114d78dc6cb676fec433.tar.bz2 rails-05895c6c861597fcefb3114d78dc6cb676fec433.zip |
Use string datatype for the setting attribute
to make store works all database adapters.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 986c1f691b..8165d09df7 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -37,7 +37,7 @@ ActiveRecord::Schema.define do create_table :admin_users, :force => true do |t| t.string :name - t.text :settings, :null => true + t.string :settings, :null => true, :limit => 1024 # MySQL does not allow default values for blobs. Fake it out with a # big varchar below. t.string :preferences, :null => false, :default => '', :limit => 1024 |