django__django-12039
Use proper whitespace in CREATE INDEX statements
Verdict: the issue points to the file or function that was changed (Tier B).
Unfortunately in the fix in #30903 it was assumed that the col_suffixes passed to django.db.backends.ddl_references.Columns would be empty for ascending order but instead it will contain empty strings and thus causing this bug. See: https://github.com/django/django/blob/master/django/db/backends/ddl_references.py#L87
The text points to the exact place to change: “Unfortunately in the fix in #30903 it was assumed that the col_suffixes passed to django.db.backends.ddl_references.Columns would be empty for ascending order but instea…”
All SWE-bench Verified tasks · more django/django tasks · How the check works