Shadow database errors

I am receving consistent P1001 erros with failed to apply cleanly to the shadow database when trying to run prisma migrate with my postgreSQL database. I have ruled out connection issues and prisma db pull runs without issue. I have tried to manually resynchronize Prisma's migration history which has worked in the past, but I am still getting the P1001 errors. Any ideas or suggestions would be greatly appriciated. thank you Environment variables loaded from .env │
│ Prisma schema loaded from prisma\schema.prisma │
│ Datasource "db": PostgreSQL database "postgres", schema "public" at " │
│ db.prisma.io:5432" │
│ │
│ Error: P3006 │
│ │
│ Migration 0_baseline failed to apply cleanly to the shadow database │
│ . │
│ Error code: P1001 │
│ Error: │
│ Can't reach database server at db.prisma.io:5432
│ │
│ Please make sure your database server is running at db.prisma.io:543 │ │ 2.
2 Replies
Prisma AI Help
Salutations, traveler! I'm the Prisma AI Help Bot. You've reached a fork in the road: one path leads to the wisdom of the human sages (ETA: sometime today), and the other to my instantaneous insights. Which way shall we go?
Nurul
Nurul4w ago
Hey! Are you able to connect to the database and invoke a few queries or does that fail as well? I am wondering if this is a migration specific issue or if for some reason your database is unresponsive.

Did you find this page helpful?