1
0
Fork 0
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:
atul-shimpi 2015-11-01 07:59:15 +05:30
parent b217354dbb
commit 2d53593ae6

View file

@ -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.