mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Issue #22139 : Edge Guides - ActiveRecord Migrations - Remove required option for column
This commit is contained in:
parent
b217354dbb
commit
2d53593ae6
1 changed files with 0 additions and 2 deletions
|
@ -454,8 +454,6 @@ number of digits after the decimal point.
|
|||
are using a dynamic value (such as a date), the default will only be calculated
|
||||
the first time (i.e. on the date the migration is applied).
|
||||
* `index` Adds an index for the column.
|
||||
* `required` Adds `required: true` for `belongs_to` associations and
|
||||
`null: false` to the column in the migration.
|
||||
|
||||
Some adapters may support additional options; see the adapter specific API docs
|
||||
for further information.
|
||||
|
|
Loading…
Reference in a new issue