From 05895c6c861597fcefb3114d78dc6cb676fec433 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 26 Jul 2012 00:34:55 +0900 Subject: Use string datatype for the setting attribute to make store works all database adapters. --- activerecord/test/schema/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3