1
The error says that your job_history field is still in the database and for some reason your migrations didn’t work. So you need to look why your migration didn’t work. You can try doing fake initial migration:
python manage.py makemigrations app_name
python manage.py migrate --fake-initial
I’m quite sure this should help, but if this also doesn’t help you always can go directly to your DB and delete the job_history_id column from DB
Source:stackexchange.com