mirror of https://github.com/rails/rails
Merge pull request #12314 from JuanitoFatas/migrations
[ci skip] Add `null` type modifier in migrations.md.
This commit is contained in:
commit
d58b720f59
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue