PrismaP
Prisma9mo ago
6 replies
bluepuma

"All data will be lost" ???

I don't understand this message. I thought I am using shadowDatabaseUrl to test things and not kill my regular database accidentally with a migration. Does this mean prisma wants to delete my regular database? Or just the shadow one?

Prisma Client (v6.8.2)
% npx prisma migrate dev --name tenant
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "dbdb", schema "public" at "example.com:54325"

The migration `20250521120634_tenant` failed.
We need to reset the "public" schema at "example.com:54325"

You may use prisma migrate reset to drop the development database.
All data will be lost.
Was this page helpful?