Open JTan242 opened 6 months ago
There are many possible reasons why you could be getting this error message. The most likely problem, however, is that you've created a database with a different schema at some point. This database is in the volume, and so postgres does not overwrite the existing database when it is brought up and does not run your schema file. Deleting the volume will likely be a necessary (but possibly not sufficient) step for solving this problem.
I can't figure out why my schema isn't being read when I run docker-compose.
The error I am getting says that there is no relation to the table I am trying to insert data into my postgres database:
Is there something wrong with my docker-compose.yml or my schema that could be causing this problem?
My docker-compose.yml
My schema: