Fix documentation of `index` option for the `add_reference` method [ci skip]

- Followup of https://github.com/rails/rails/pull/23179.
上级 bf06cdf7
......@@ -790,7 +790,7 @@ def index_name_exists?(table_name, index_name, default)
# [<tt>:type</tt>]
# The reference column type. Defaults to +:integer+.
# [<tt>:index</tt>]
# Add an appropriate index. Defaults to false.
# Add an appropriate index. Defaults to true.
# See #add_index for usage of this option.
# [<tt>:foreign_key</tt>]
# Add an appropriate foreign key constraint. Defaults to false.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册