diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/migration-operations.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index 980b26cdbd..cdf1f6b458 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -99,6 +99,24 @@ Changes the model's set of custom indexes (the :attr:`~django.db.models.Options.index_together` option on the ``Meta`` subclass). +AlterOrderWithRespectTo +----------------------- + +.. class:: AlterIndexTogether(name, order_with_respect_to) + +Makes or deletes the ``_order`` column needed for the +:attr:`~django.db.models.Options.order_with_respect_to` option on the ``Meta`` +subclass. + +AlterModelOptions +----------------- + +.. class:: AlterIndexTogether(name, options) + +Stores changes to miscellaneous model options (settings on a model's ``Meta``) +like ``permissions`` and ``verbose_name``. Does not affect the database, but +persists these changes for :class:`RunPython` instances to use. + AddField -------- |
