aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2012-07-24 22:46:17 +0900
committerAleksey Magusev <lexmag@gmail.com>2013-02-03 15:27:49 +0400
commite8357935acde972fe42a1a3e0d8c969e518956ed (patch)
tree638e165ad8490056f378d1715e4b01b88d1e2be8 /activerecord/test
parent6a0a5f30324571416174430cf41f3355635c3328 (diff)
downloadrails-e8357935acde972fe42a1a3e0d8c969e518956ed.tar.gz
rails-e8357935acde972fe42a1a3e0d8c969e518956ed.tar.bz2
rails-e8357935acde972fe42a1a3e0d8c969e518956ed.zip
This pull requests addresses ORA-01400 errors and also supports #6115 issue tested.
Issue #6115 has been fixed and tested with the attribute `:null => false, :default => ""` However `:null => false` attribute is not necessary to test this issue, which causes many ORA-01400 errors with Oracle enhanced adapter.
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 1ad4d971f4..ab62fb82b6 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -176,7 +176,7 @@ ActiveRecord::Schema.define do
t.integer :client_of
t.integer :rating, :default => 1
t.integer :account_id
- t.string :description, :null => false, :default => ""
+ t.string :description, :default => ""
end
add_index :companies, [:firm_id, :type, :rating, :ruby_type], :name => "company_index"