script/makemigrations --> error message: Models are out of sync with database.
What might help:
Delete the last 4 lines in courses/migrations/0035.... (was manually adjusted; perhaps to remove remaining db entries from a former dependency mughsot?)
Suggested process:
I suspect that somebody forgot to create migrations after heavily changing some model(s). Therefore:
Find latest working commit. Manually adjust the next migrations to be in sync again with the models.
Problem: It is not possible to apply all migrations (from 3rd party apps).
The problem exists at least since commit 3eca7108bd093f9c42b7940748f38f5ab54048ea.
Ways to reproduce:
DROP DATABASE tq_website;
)CREATE DATABASE tq_website;
)What might help: Delete the last 4 lines in courses/migrations/0035.... (was manually adjusted; perhaps to remove remaining db entries from a former dependency mughsot?)
Suggested process: I suspect that somebody forgot to create migrations after heavily changing some model(s). Therefore: Find latest working commit. Manually adjust the next migrations to be in sync again with the models.