ERROR: relation "votes" does not exist at character 38
来源:6-5 部署一个复杂的投票应用
慕虎4509735
2021-03-25
我在使用docker-compose up的时候出现这个错误,我按照评论区里的办法试了,解决不了。第一遍docker-compose up的时候是result-app_1 | Failed to connect to db
再一遍的时候报错是
ERROR: relation “votes” does not exist at character 38
db_1 | STATEMENT: SELECT vote, COUNT(id) AS count FROM votes GROUP BY vote
result-app_1 | Error performing query: error: relation “votes” does not exist
写回答
1回答
-
麦兜搞IT
2021-03-28
您可以试试最新的这个投票app https://github.com/dockersamples/example-voting-app
00
相似问题