Typical “relation ”auth_user“ does not exist” with PSQL and Django 2
问题 Edit: SOLVED I had a line like creator = models.ForeignKey(User, on_delete=models.CASCADE, default=User.objects.first().id) that was the problem. When I changed it to creator = models.ForeignKey(User, on_delete=models.CASCADE) all started to work again. Thanks. I know that it is a recurrent ask, which it's solutioned with migrations, but not my case (I think). I have a Django project (I've tried with Django 2.0, 2.1 and 2.1.1) that had a db.sqlite3 and worked fine. Now, I've tried to switch