diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-09-23 01:41:24 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-09-23 01:41:24 -0700 |
commit | d58b720f596cf87bf44dbd86b8a573b081ef6268 (patch) | |
tree | 378d2c26c7e97010f5f386f3b0cb76de3a971f64 /guides | |
parent | c21941b1c71b9254103929117670e7cbb53aa243 (diff) | |
parent | 8e41af93a39cacbc813e66d38b05ffc98d412209 (diff) | |
download | rails-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.
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 |