IFRCGo/go-api

Squash django migrations

Opened this issue · 1 comments

Currently, we have lots of Django migrations in our code base. The current count is ~ 464 files
We can use the Django squash command to merge them into a few files.
This will help to speed up CI runtimes. The current runtime for migration is ~ 3m

https://docs.djangoproject.com/en/4.2/topics/migrations/#squashing-migrations

Brilliant idea!