If I allow Prisma to create a Postgres database fo...
# orm-help
m
If I allow Prisma to create a Postgres database for me in Docker, how can I use psql to see it? I tried running
docker exec -it {container-id} psql -U prisma
. That starts psql fine, but when I enter
\d
it says there are no relations.
h
you need to change the schema of your postgres db according to name of your service. This data is not stored in public schema which you are trying to see cause it is the default. The schema name is based upon your service and stage name like
stage$service
and it is
default$default
if you don't specify them at time of creation.