diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-09 17:25:20 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-09 17:27:32 -0300 |
commit | dddbccb25a709e1897326e2a25d37da83bbfd717 (patch) | |
tree | 6244e959061c596914dc8505468e48b296e63c40 /activerecord/test/schema | |
parent | 9664661f7b8e916ab2cf3fee1b2d2d2f0b26ceeb (diff) | |
download | rails-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')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
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 |