Permalink
Browse files

Merge pull request #12314 from JuanitoFatas/migrations

[ci skip] Add `null` type modifier in migrations.md.
  • Loading branch information...
1 parent 76e231e commit 5e480d21f178cda90cf84bb67a8eaf8f4273546a @senny senny committed Sep 23, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 5e480d2

Please sign in to comment.