Django 1.9.7, db.sqlite3 as DB
I have a Django project with several apps. For app "A", I had migrations, but I deleted them by accident and pushed to the remote git. Also, a lot of new stuff for other apps was pushed to the git during the day. Other apps don't depend on the "A" app models.
Everything worked until I decided to add a new field to the model of the "A" app. I got OperationalError: no such column:
error. I tried to make initial migrations for the app "A" python manage.py migrate --fake-initial
. I got new migrations but I still have the OperationalError: no such column:
.
How to fix "A" app migrations without affecting other apps migrations?