提交 ad9290d0 编写于 作者: Y Yves Senn

Merge pull request #20259 from rastasheep/rastasheep-patch-1

Update documentation for ActiveRecord::Migration#remove_index
......@@ -138,8 +138,8 @@ def initialize
# <tt>:name</tt>, <tt>:unique</tt> (e.g.
# <tt>{ name: 'users_name_index', unique: true }</tt>) and <tt>:order</tt>
# (e.g. <tt>{ order: { name: :desc } }</tt>).
# * <tt>remove_index(table_name, column: column_name)</tt>: Removes the index
# specified by +column_name+.
# * <tt>remove_index(table_name, column: column_names)</tt>: Removes the index
# specified by +column_names+.
# * <tt>remove_index(table_name, name: index_name)</tt>: Removes the index
# specified by +index_name+.
# * <tt>add_reference(:table_name, :reference_name)</tt>: Adds a new column
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册