Skip to content

Commit

Permalink
This pull requests addresses ORA-01400 errors and also supports rails…
Browse files Browse the repository at this point in the history
…#6115 issue tested.

Issue rails#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
yahonda committed Jul 24, 2012
1 parent aac9d2c commit 0da4950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/schema/schema.rb
Expand Up @@ -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"
Expand Down

0 comments on commit 0da4950

Please sign in to comment.