diff options
| author | Akshesh <aksheshdoshi@gmail.com> | 2016-07-07 12:00:55 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-07-07 07:31:23 -0400 |
| commit | b1e7d19d4c7015efe0c65361bb7f00a2f1c7047c (patch) | |
| tree | 208b01df2abc364c72c4e8f8f03e8c5082efa5fe /docs/ref | |
| parent | f1af076fbabf932dde337f09ad95369aab32d404 (diff) | |
Refs #26709 -- Required a name for Indexes passed to AddIndex.
Thanks to Markush for discussions.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/migration-operations.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index 485add5bcc..2de2d1a144 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -215,10 +215,8 @@ For example, to add an index on the ``title`` and ``author`` fields of the ), ] -If you're writing your own migration to add an index, it's recommended to pass -a ``name`` to the ``index`` as done above so that you can reference it if you -later want to remove it. Otherwise, a name will be autogenerated and you'll -have to inspect the database to find the index name if you want to remove it. +If you're writing your own migration to add an index, you must assign a +``name`` to the ``index`` as done above. ``RemoveIndex`` --------------- |
