Browse files

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
  • Loading branch information...
1 parent 3a087b8 commit 06dcd9c0fb3868130c674048af16b4563d478324 @rafaelfranca rafaelfranca committed Jan 26, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/test/schema/schema.rb
@@ -712,8 +712,6 @@ def create_table(*args, &block)
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
create_table :liquid, :force => true do |t|

0 comments on commit 06dcd9c

Please sign in to comment.