Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration issue #140

Open
mchen610 opened this issue Oct 21, 2024 · 0 comments
Open

Migration issue #140

mchen610 opened this issue Oct 21, 2024 · 0 comments

Comments

@mchen610
Copy link
Contributor

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

> [email protected] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant