aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2019-05-10 16:45:46 -0400
committerGannon McGibbon <gannon.mcgibbon@gmail.com>2019-05-10 16:45:46 -0400
commite84ee74854876be00c3d072182af4c936c7d303c (patch)
tree8f2f28cf1d3084d63de98fa6bac897294638a1a3 /guides
parent36d145ca457d7f663517ac4096d8fae3da2491a9 (diff)
parent93d2090011b5ccab504b8aeabf6a95b23193a689 (diff)
downloadrails-e84ee74854876be00c3d072182af4c936c7d303c.tar.gz
rails-e84ee74854876be00c3d072182af4c936c7d303c.tar.bz2
rails-e84ee74854876be00c3d072182af4c936c7d303c.zip
Merge branch 'migration-timestamp-fix'
Closes #28707.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_migrations.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md
index 270e4a3bf9..9398244ccf 100644
--- a/guides/source/active_record_migrations.md
+++ b/guides/source/active_record_migrations.md
@@ -225,6 +225,8 @@ class CreateProducts < ActiveRecord::Migration[5.0]
create_table :products do |t|
t.string :name
t.string :part_number
+
+ t.timestamps
end
end
end