aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-26 10:32:10 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-26 10:32:10 -0200
commit06dcd9c0fb3868130c674048af16b4563d478324 (patch)
tree6160151171d185976c8d2fca85e52a08a837d15e /activerecord/test/schema/schema.rb
parent3a087b8b5e3da3f8cf5a68b6bd354497810bbbd9 (diff)
downloadrails-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
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb2
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|