mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #22470: Full migration support for order_with_respect_to
This commit is contained in:
parent
a58f49d104
commit
a8ce5fdc28
8 changed files with 234 additions and 3 deletions
|
@ -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
|
||||
--------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue