aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-09-23 01:41:24 -0700
committerYves Senn <yves.senn@gmail.com>2013-09-23 01:41:24 -0700
commitd58b720f596cf87bf44dbd86b8a573b081ef6268 (patch)
tree378d2c26c7e97010f5f386f3b0cb76de3a971f64
parentc21941b1c71b9254103929117670e7cbb53aa243 (diff)
parent8e41af93a39cacbc813e66d38b05ffc98d412209 (diff)
downloadrails-d58b720f596cf87bf44dbd86b8a573b081ef6268.tar.gz
rails-d58b720f596cf87bf44dbd86b8a573b081ef6268.tar.bz2
rails-d58b720f596cf87bf44dbd86b8a573b081ef6268.zip
Merge pull request #12314 from JuanitoFatas/migrations
[ci skip] Add `null` type modifier in migrations.md.
-rw-r--r--guides/source/migrations.md1
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