Hello everyone!
I am having a problem with my unit tests. When running python manage.py test, I am getting the error:
“relation “auth_user” does not exist”.
I have manually checked my postgres database and the table is there, makemigrations and migrate are normally creating each table.
In a desperate attempt, I have tried dropping the user and database from postgres, creating them from new and migrating again. All goes alright but when running python manage.py test I get that error.
For context, the postgres database and connection all works as expected with all the right permissions and privileges.