Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use string datatype for the setting attribute

to make store works all database adapters.
  • Loading branch information...
commit 05895c6c861597fcefb3114d78dc6cb676fec433 1 parent c324f42
@yahonda yahonda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/schema/schema.rb
View
2  activerecord/test/schema/schema.rb
@@ -37,7 +37,7 @@ def create_table(*args, &block)
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
Please sign in to comment.
Something went wrong with that request. Please try again.