diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-05-04 00:54:04 -0700 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-05-04 23:00:41 -0700 |
commit | c5176023a0585278c533610daf1eaf6ba7d19cd8 (patch) | |
tree | 7a58fa1aa377ecbb83ef181dd9fde16a05e2f8d6 /activerecord/test/schema | |
parent | 2ec6ef5ddae7667e7bb37c0aa905848a9027da82 (diff) | |
download | rails-c5176023a0585278c533610daf1eaf6ba7d19cd8.tar.gz rails-c5176023a0585278c533610daf1eaf6ba7d19cd8.tar.bz2 rails-c5176023a0585278c533610daf1eaf6ba7d19cd8.zip |
Duplicate column_defaults properly (closes #6115)
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 377fde5c96..7082d5dc86 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -173,6 +173,7 @@ ActiveRecord::Schema.define do t.integer :client_of t.integer :rating, :default => 1 t.integer :account_id + t.string :description, :null => false, :default => "" end add_index :companies, [:firm_id, :type, :rating, :ruby_type], :name => "company_index" |