PrismaP
Prisma15mo ago
14 replies
ProEvilz

Migrations hang on Prisma Postgres

Hi, out of seemingly no where, I can no longer migrate the DB. When I run the command I get this
$ bunx prisma migrate dev --name updateembeds
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "accelerate.prisma-data.net"

and nothing more.. it just hangs forever and never finishes. There have been no changes in regards to dependencies around prisma, or changes in my prisma schema that could have caused this.

I think the database is bricked internally, as if I create a brand new DB and run the exact same commands with the same schema, it works.

Prisma Studio can look in all the tables just fine, and my application can query the database successfully.

Just can't migrate.
Was this page helpful?