aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorJuanito Fatas <katehuang0320@gmail.com>2014-06-10 13:38:08 +0800
committerJuanito Fatas <katehuang0320@gmail.com>2014-06-10 13:38:08 +0800
commit0d6351348dbdafa20cca0cec571beaf2b1c7a764 (patch)
treef1cf6806d7c3437e16a2596625707babdf01df75 /guides
parentb64c057e8708e0a23d249d59cfbfe44e340156f2 (diff)
downloadrails-0d6351348dbdafa20cca0cec571beaf2b1c7a764.tar.gz
rails-0d6351348dbdafa20cca0cec571beaf2b1c7a764.tar.bz2
rails-0d6351348dbdafa20cca0cec571beaf2b1c7a764.zip
[ci skip] Add note about type modifiers that cannot be specified in command line.
Diffstat (limited to 'guides')
-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