migrations: Add missing elidable tags on RunPython/RunSQL steps.

This helps the squashmigrations tool know that it can squash these.
This commit is contained in:
Tim Abbott
2024-08-13 09:31:43 -07:00
parent 5188cf3d8e
commit afecb2eca6
40 changed files with 74 additions and 28 deletions

View File

@@ -60,5 +60,7 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RunPython(clear_duplicate_counts, reverse_code=migrations.RunPython.noop),
migrations.RunPython(
clear_duplicate_counts, reverse_code=migrations.RunPython.noop, elidable=True
),
]