summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/fields.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2018-07-13 22:48:49 -0400
committerTim Graham <timograham@gmail.com>2018-07-19 17:06:01 -0400
commited7898e1b58c29cda648a799ac4bd5bc7e193b8b (patch)
tree538b85b2ae1bf76b1842f554fd82259d781886b9 /tests/postgres_tests/fields.py
parent55b6f7af0c6ab7f25818445cfbb9e18ddafedcc9 (diff)
Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.
AlterFooTogether operations cannot be swapped with RemoveField operations on the same model as they could be removing the the same field as well. Since AlterFooTogether operations don't track what their previous value was, it's impossible to determine whether or not the optimization is safe so the only way to proceed is to disable the optimization. Thanks Ramiro Morales for the in-depth analysis of the issue. Refs #24828
Diffstat (limited to 'tests/postgres_tests/fields.py')
0 files changed, 0 insertions, 0 deletions