aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_migrations.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2016-10-20 20:32:57 +0200
committerYves Senn <yves.senn@gmail.com>2016-10-20 20:34:46 +0200
commitdba9ce8ec87f99a5be830043c3fb9a745f983a93 (patch)
tree49b98c9efba207bacd75327eef4186240d3a9a83 /guides/source/active_record_migrations.md
parentfb2f8d2b75b1999b7ff7adef16ba7fb34600fa0d (diff)
downloadrails-dba9ce8ec87f99a5be830043c3fb9a745f983a93.tar.gz
rails-dba9ce8ec87f99a5be830043c3fb9a745f983a93.tar.bz2
rails-dba9ce8ec87f99a5be830043c3fb9a745f983a93.zip
guides, include note about modifiers when using the CLI.
[ci skip] This was pointed out on https://github.com/rails/rails/issues/15583#issuecomment-239212831 The comment was lost in the changes made by fcd0ac066e0959a9f4fa4459a27e041abe8eb52a and 3e1373a773085d5f19cb6a466ab2736cc1ca2713
Diffstat (limited to 'guides/source/active_record_migrations.md')
-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 5b70bcdb3c..d91c9bd606 100644
--- a/guides/source/active_record_migrations.md
+++ b/guides/source/active_record_migrations.md
@@ -467,6 +467,8 @@ the first time (i.e. on the date the migration is applied).
Some adapters may support additional options; see the adapter specific API docs
for further information.
+NOTE: `null` and `default` cannot be specified via command line.
+
### Foreign Keys
While it's not required you might want to add foreign key constraints to