Skip to content

Commit 5e480d2

Browse files
committed
Merge pull request rails#12314 from JuanitoFatas/migrations
[ci skip] Add `null` type modifier in migrations.md.
1 parent 76e231e commit 5e480d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guides/source/migrations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ braces. You can use the following modifiers:
301301
* `precision` Defines the precision for the `decimal` fields
302302
* `scale` Defines the scale for the `decimal` fields
303303
* `polymorphic` Adds a `type` column for `belongs_to` associations
304+
* `null` Allows or disallows `NULL` values in the column.
304305

305306
For instance, running
306307

0 commit comments

Comments
 (0)