aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-06-09 17:25:20 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-06-09 17:27:32 -0300
commitdddbccb25a709e1897326e2a25d37da83bbfd717 (patch)
tree6244e959061c596914dc8505468e48b296e63c40 /activerecord/test/schema/schema.rb
parent9664661f7b8e916ab2cf3fee1b2d2d2f0b26ceeb (diff)
downloadrails-dddbccb25a709e1897326e2a25d37da83bbfd717.tar.gz
rails-dddbccb25a709e1897326e2a25d37da83bbfd717.tar.bz2
rails-dddbccb25a709e1897326e2a25d37da83bbfd717.zip
Timestamp values should be present on callbacks
This reverts commit dd3ea17191e316aeebddaa7b176f6cfeee7a6365 and add a regression test. Fixes #15418
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 5f459cf682..98fd0b6803 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -529,6 +529,7 @@ ActiveRecord::Schema.define do
t.references :best_friend
t.references :best_friend_of
t.integer :insures, null: false, default: 0
+ t.timestamp :born_at
t.timestamps
end