It's because if you look in entrypoint.sh the webserver is started before migrations run so if migrations add a column, the webserver will crash saying it can't find it.
I'm unsure if that affects live too, or if it doesn't matter there cos gunicorn just restarts the worker for you.
It's just annoying to have false positive alerts come up when your trying to check code to make sure it has no errors!
It's because if you look in entrypoint.sh the webserver is started before migrations run so if migrations add a column, the webserver will crash saying it can't find it.
I'm unsure if that affects live too, or if it doesn't matter there cos gunicorn just restarts the worker for you.
It's just annoying to have false positive alerts come up when your trying to check code to make sure it has no errors!