aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2012-09-03 20:38:14 +0200
committerYves Senn <yves.senn@gmail.com>2012-09-03 20:38:14 +0200
commit9f494a9a3489cf03b0d6d3c87cb8638c3b867c86 (patch)
tree8ae1fa856de7ed814d02cfd25d5e28cded80daa6 /activerecord/test/schema
parent77ca2815f5c5fc20a9ca7fa4cdd16d0c4b908682 (diff)
downloadrails-9f494a9a3489cf03b0d6d3c87cb8638c3b867c86.tar.gz
rails-9f494a9a3489cf03b0d6d3c87cb8638c3b867c86.tar.bz2
rails-9f494a9a3489cf03b0d6d3c87cb8638c3b867c86.zip
test cleanup, remove ruby_type because it's no longer needed
All tests with a custom inheritance_column use the `Vegtable` model. The field ruby_type on the Company models is no longer needed
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 7b37ac3389..007349ea87 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -171,7 +171,6 @@ ActiveRecord::Schema.define do
create_table :companies, :force => true do |t|
t.string :type
- t.string :ruby_type
t.integer :firm_id
t.string :firm_name
t.string :name
@@ -181,7 +180,7 @@ ActiveRecord::Schema.define do
t.string :description, :default => ""
end
- add_index :companies, [:firm_id, :type, :rating, :ruby_type], :name => "company_index"
+ add_index :companies, [:firm_id, :type, :rating], :name => "company_index"
add_index :companies, [:firm_id, :type], :name => "company_partial_index", :where => "rating > 10"
create_table :vegetables, :force => true do |t|