aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-07-20 23:52:24 -0400
committerJosé Valim <jose.valim@gmail.com>2010-07-21 14:45:36 +0200
commit8bb3b634c07a327b9f1c7e21b4d1fcc407737a9f (patch)
treec61aef76976551885dc004aa2ba4d22e5146b403 /activerecord/test/schema
parent01add55d6a6a67fb487afa040998575111511b6d (diff)
downloadrails-8bb3b634c07a327b9f1c7e21b4d1fcc407737a9f.tar.gz
rails-8bb3b634c07a327b9f1c7e21b4d1fcc407737a9f.tar.bz2
rails-8bb3b634c07a327b9f1c7e21b4d1fcc407737a9f.zip
Timestamp columns of HABTM join table should record timestamps
[#5161 state:resolved]
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index c4eed256bf..a69e38f414 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -611,6 +611,8 @@ 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
except 'SQLite' do