aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2012-07-24 22:46:17 +0900
committerYasuo Honda <yasuo.honda@gmail.com>2012-07-25 03:51:23 +0900
commit0da49506f1418739228f3a72578ab21272011809 (patch)
tree9f83fb5159d34fa4e541d028c61962d771cef5b4 /activerecord/test/schema/schema.rb
parentaac9d2ca43c796efcc60089e8f4ee184bf6a3b57 (diff)
downloadrails-0da49506f1418739228f3a72578ab21272011809.tar.gz
rails-0da49506f1418739228f3a72578ab21272011809.tar.bz2
rails-0da49506f1418739228f3a72578ab21272011809.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/schema/schema.rb')
-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 00688eab37..986c1f691b 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -178,7 +178,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"