From 06dcd9c0fb3868130c674048af16b4563d478324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 26 Jan 2012 10:32:10 -0200 Subject: Remove extra attributes from HABTM join tables in AR tests HABTM Join tables should not have extra attributes When extra attributes is needed in HABTM join tables is better to use `has_many :through` association. Fix #4653 --- activerecord/test/schema/schema.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/test') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 8a29089011..fb4ea4223d 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -712,8 +712,6 @@ ActiveRecord::Schema.define do create_table :countries_treaties, :force => true, :id => false do |t| t.string :country_id, :null => false t.string :treaty_id, :null => false - t.datetime :created_at - t.datetime :updated_at end create_table :liquid, :force => true do |t| -- cgit v1.2.3