diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-12-15 08:43:57 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-12-15 08:43:57 +0100 |
commit | f46676d2392131af193808d92fc59db6fc488ae8 (patch) | |
tree | 782f98a3d1779143b836e241b5c554d0ce6ddfbf /guides/source/active_record_basics.md | |
parent | 7607687c9166f8b2f8aa4d107bdbaadb99d4bb43 (diff) | |
parent | 6b96a1eae12dc0065d2e2d79f9b9f6929bf04a80 (diff) | |
download | rails-f46676d2392131af193808d92fc59db6fc488ae8.tar.gz rails-f46676d2392131af193808d92fc59db6fc488ae8.tar.bz2 rails-f46676d2392131af193808d92fc59db6fc488ae8.zip |
Merge pull request #18030 from zzak/doc-timestamps-null-option-from-generator
Add `null` option to timestamps as migration generator does [ci skip]
Diffstat (limited to 'guides/source/active_record_basics.md')
-rw-r--r-- | guides/source/active_record_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index bd074d0055..ef86531eef 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -358,7 +358,7 @@ class CreatePublications < ActiveRecord::Migration t.string :publisher_type t.boolean :single_issue - t.timestamps + t.timestamps null: false end add_index :publications, :publication_type_id end |