Hotfix: Avoid infinite loop in migration at all cost

This commit is contained in:
Raphael Michel
2021-03-31 13:09:09 +02:00
parent a911a2076d
commit 60dcfe2308
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
__version__ = "3.17.0"
__version__ = "3.17.1"

View File

@@ -4,7 +4,7 @@ from django.db import migrations
def clean_duplicates(apps, schema_editor):
while True:
for i in range(100): # no infinite loops
# Double subquery to avoid MySQL error 1093
delete_options = """
DELETE