Django migrations, friend or foe? Optimize them for testing

Django migrations, friend or foe? Optimize them for testing

Videos
Django migrations are a great tool, but after years of changes in a project they can become very numerous, slowing down tests. Is it possible to optimize them?