This package lets you know if migrations can be run safely.
This package works with Django>2.0 only.
python setup.py install
or
add this line to your requirements.txt
file.
-e git://github.com/Dineshs91/django-migration-check.git#egg=django-migration-check
Add to migration_check
to INSTALLED_APPS
.
Run this command after migrations are generated and before they are applied.
Ideally it would be like this
python manage.py makemigrations
python manage.py migration_check
python manage.py migrate