Skip to content
Browse files

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.
  • Loading branch information...
1 parent aac9d2c commit 0da49506f1418739228f3a72578ab21272011809 @yahonda yahonda committed Jul 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/schema/schema.rb
View
2 activerecord/test/schema/schema.rb
@@ -178,7 +178,7 @@ def create_table(*args, &block)
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"

0 comments on commit 0da4950

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