Skip to content
Browse files

Merge pull request #7173 from yahonda/address_7138

Modify the preference attribute from `:null => false` to `:null => true`
  • Loading branch information...
2 parents fee0bc5 + dab8ca5 commit 87f3bd0c43f288aa2a9b127380bc4ecb400c0db0 @rafaelfranca rafaelfranca committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/schema/schema.rb
View
2 activerecord/test/schema/schema.rb
@@ -40,7 +40,7 @@ def create_table(*args, &block)
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
+ t.string :preferences, :null => true, :default => '', :limit => 1024
t.string :json_data, :null => true, :limit => 1024
t.string :json_data_empty, :null => false, :default => "", :limit => 1024
t.references :account

0 comments on commit 87f3bd0

Please sign in to comment.
Something went wrong with that request. Please try again.