diff options
author | Juanito Fatas <katehuang0320@gmail.com> | 2013-09-22 16:09:43 +0800 |
---|---|---|
committer | Juanito Fatas <katehuang0320@gmail.com> | 2013-09-22 16:09:43 +0800 |
commit | 8e41af93a39cacbc813e66d38b05ffc98d412209 (patch) | |
tree | bb94b2a786bcb0c9f50b8db0c383ff60d156709d /guides | |
parent | 80008352675add5a6b4aaded715fc02329a02004 (diff) | |
download | rails-8e41af93a39cacbc813e66d38b05ffc98d412209.tar.gz rails-8e41af93a39cacbc813e66d38b05ffc98d412209.tar.bz2 rails-8e41af93a39cacbc813e66d38b05ffc98d412209.zip |
[ci skip] Add a type modifier in migrations.md.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/migrations.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md index 3c512e0390..1c858069f3 100644 --- a/guides/source/migrations.md +++ b/guides/source/migrations.md @@ -301,6 +301,7 @@ braces. You can use the following modifiers: * `precision` Defines the precision for the `decimal` fields * `scale` Defines the scale for the `decimal` fields * `polymorphic` Adds a `type` column for `belongs_to` associations +* `null` Allows or disallows `NULL` values in the column. For instance, running |