Migration issue
Opened this issue · 0 comments
mchen610 commented
I seem to get an issue, I think it may be related to the fact that the postgres user in the docker-compose.yml is set as "user" instead of "postgres". Does anyone know why I'm running into this? Below is my terminal logs.
✔ Network deardiary_default Created 0.2s
✔ Volume "deardiary_postgres_data" Created 0.0s
✔ Container deardiary-db-1 Started 0.7s
✔ Container deardiary-app-1 Started 1.0s
610mo@MacBook-Pro DearDiary % npm run prisma:migrate
> gssocextended@0.1.0 prisma:migrate
> docker-compose exec app npx prisma migrate dev
WARN[0000] /Users/610mo/Desktop/DearDiary/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-us-west-1.pooler.supabase.com:5432"
Error: Schema engine error:
FATAL: Tenant or user not found