From 9f494a9a3489cf03b0d6d3c87cb8638c3b867c86 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Mon, 3 Sep 2012 20:38:14 +0200 Subject: 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 --- activerecord/test/schema/schema.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activerecord/test/schema') 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| -- cgit v1.2.3