aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-10 08:17:24 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-10 08:17:24 +0200
commit8ed1dec25e8a818edca1fec3f064b9937326836c (patch)
treef1cf6806d7c3437e16a2596625707babdf01df75
parentb64c057e8708e0a23d249d59cfbfe44e340156f2 (diff)
parent0d6351348dbdafa20cca0cec571beaf2b1c7a764 (diff)
downloadrails-8ed1dec25e8a818edca1fec3f064b9937326836c.tar.gz
rails-8ed1dec25e8a818edca1fec3f064b9937326836c.tar.bz2
rails-8ed1dec25e8a818edca1fec3f064b9937326836c.zip
Merge pull request #15602 from JuanitoFatas/doc/type-modifier
[ci skip] Add note about type modifiers that cannot be specified in command line.
-rw-r--r--guides/source/migrations.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md
index 9568bfcdb8..ef95a28564 100644
--- a/guides/source/migrations.md
+++ b/guides/source/migrations.md
@@ -305,6 +305,8 @@ braces. You can use the following modifiers:
* `null` Allows or disallows `NULL` values in the column.
* `default` Allows to set a default value on the column. NOTE: If using a dynamic value (such as date), the default will only be calculated the first time (e.g. on the date the migration is applied.)
+NOTE: `null` and `default` cannot be specified via command line.
+
For instance, running:
```bash