diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2018-03-12 09:02:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-12 09:02:27 -0400 |
commit | 76d516089691cf448604a368af8a8279b5b1f28f (patch) | |
tree | e85361a90054ebe591ac6968243b338a7844aa70 /guides/source/active_record_migrations.md | |
parent | aacda9c6901bef01ffac6a11b073305676b3062f (diff) | |
parent | f1b14944841ab4890dacb755dcae627dae101d67 (diff) | |
download | rails-76d516089691cf448604a368af8a8279b5b1f28f.tar.gz rails-76d516089691cf448604a368af8a8279b5b1f28f.tar.bz2 rails-76d516089691cf448604a368af8a8279b5b1f28f.zip |
Merge pull request #32227 from ydakuka/fix-notes-marks
Fix note marks
Diffstat (limited to 'guides/source/active_record_migrations.md')
-rw-r--r-- | guides/source/active_record_migrations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index ab3af438f5..5be514c786 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -442,7 +442,7 @@ change_column_default :products, :approved, from: true, to: false This sets `:name` field on products to a `NOT NULL` column and the default value of the `:approved` field from true to false. -Note: You could also write the above `change_column_default` migration as +NOTE: You could also write the above `change_column_default` migration as `change_column_default :products, :approved, false`, but unlike the previous example, this would make your migration irreversible. |