aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJuanito Fatas <katehuang0320@gmail.com>2013-09-22 16:09:43 +0800
committerJuanito Fatas <katehuang0320@gmail.com>2013-09-22 16:09:43 +0800
commit8e41af93a39cacbc813e66d38b05ffc98d412209 (patch)
treebb94b2a786bcb0c9f50b8db0c383ff60d156709d /guides/source
parent80008352675add5a6b4aaded715fc02329a02004 (diff)
downloadrails-8e41af93a39cacbc813e66d38b05ffc98d412209.tar.gz
rails-8e41af93a39cacbc813e66d38b05ffc98d412209.tar.bz2
rails-8e41af93a39cacbc813e66d38b05ffc98d412209.zip
[ci skip] Add a type modifier in migrations.md.
Diffstat (limited to 'guides/source')
-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