Right now I'm in development so frequently make changes to models, edit, delete, etc.
However often even with makemigrations
and migrate
Django doesn't pick up on the changes I've made.
Sometimes running python manage.py migrate --run-syncdb
will solve it (yes I know this has been depreciated but it still works which is why I use it as a last resort) but sometimes it doesn't and I have to delete the sqlite
database and migrate from scratch.
Obviously in production this not going to be possible and I'd like to know the best way to deal with this.
The question that has been suggested to me as a duplicate is from 2012 and the answers are no longer relevant.