mirror of
https://github.com/django/django.git
synced 2025-07-30 08:35:23 +00:00
[2.2.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.
Backport of 06d34aab7c
from master.
This commit is contained in:
parent
d4d37d0900
commit
d2f02aa56b
4 changed files with 53 additions and 5 deletions
|
@ -13,3 +13,7 @@ Bugfixes
|
|||
``has_keys``, or ``has_any_keys`` lookup on
|
||||
:class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand
|
||||
side of an expression is a key transform (:ticket:`30826`).
|
||||
|
||||
* Prevented :option:`migrate --plan` from showing that ``RunPython`` operations
|
||||
are irreversible when ``reverse_code`` callables don't have docstrings or
|
||||
when showing a forward migration plan (:ticket:`30870`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue