From dab8ca53be6a6133fdc24b88e0bf0911bf9ed527 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Fri, 27 Jul 2012 10:28:06 +0900 Subject: Modify the preference attribute from `:null => false` to `:null => true` to address ORA-01400 errors with Oracle enhanced adapter. Issue #4856 had been fixed and tested with the attribute `:null => false, :default => ""`. Now `:null => false` attribute is not necessary to test this issue. --- activerecord/test/schema/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 8165d09df7..f48bab721f 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -40,7 +40,7 @@ ActiveRecord::Schema.define do 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 -- cgit v1.2.3