diff options
| author | David Wobrock <david.wobrock@gmail.com> | 2022-05-02 17:22:54 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-05-12 20:44:03 +0200 |
| commit | eacd4977f6a4bb038e82796ba79a2f61bae330c6 (patch) | |
| tree | 8d9b1c7d18226a8922826257ed997cee6229af10 /docs/ref/schema-editor.txt | |
| parent | 20e65a34aea0ace077033c84854dcf225e248f8c (diff) | |
Refs #27064 -- Added RenameIndex migration operation.
Diffstat (limited to 'docs/ref/schema-editor.txt')
| -rw-r--r-- | docs/ref/schema-editor.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/schema-editor.txt b/docs/ref/schema-editor.txt index 719e69826f..99d93f5ab4 100644 --- a/docs/ref/schema-editor.txt +++ b/docs/ref/schema-editor.txt @@ -79,6 +79,15 @@ Adds ``index`` to ``model``’s table. Removes ``index`` from ``model``’s table. +``rename_index()`` +------------------ + +.. versionadded:: 4.1 + +.. method:: BaseDatabaseSchemaEditor.rename_index(model, old_index, new_index) + +Renames ``old_index`` from ``model``’s table to ``new_index``. + ``add_constraint()`` -------------------- |
