Migration crashes deleting an index together if there is a unique together on the same fields Description
Migration crashes deleting an index together if there is a unique together on the same fields Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Happens with Django 1.11.10 Steps to reproduce: 1) Create models with 2 fields, add 2 same fields to unique together and to index…
The task
Happens with Django 1.11.10 Steps to reproduce: 1) Create models with 2 fields, add 2 same fields to unique_together and to index_together 2) Delete index_together -> Fail It will fail at django/db/backends/base/schema.py, line 378, in _delete_composed_index(), ValueError: Found wrong number (2) of constraints for as…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.