diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-26 10:32:10 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-26 10:32:10 -0200 |
commit | 06dcd9c0fb3868130c674048af16b4563d478324 (patch) | |
tree | 6160151171d185976c8d2fca85e52a08a837d15e | |
parent | 3a087b8b5e3da3f8cf5a68b6bd354497810bbbd9 (diff) | |
download | rails-06dcd9c0fb3868130c674048af16b4563d478324.tar.gz rails-06dcd9c0fb3868130c674048af16b4563d478324.tar.bz2 rails-06dcd9c0fb3868130c674048af16b4563d478324.zip |
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
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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| |