migrations: Mark RunPython statements elidable.

This will make django automatically remove them when we run
squashmigrations. There are still some RunSQL statements which
we will have to take care of manually.
This commit is contained in:
Aman Agrawal
2020-04-29 12:13:25 +05:30
committed by Tim Abbott
parent cf3abcedfd
commit 47bf111de8
60 changed files with 97 additions and 59 deletions

View File

@@ -37,5 +37,5 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RunPython(verify_medium_avatar_image)
migrations.RunPython(verify_medium_avatar_image, elidable=True)
]