PrismaP
Prisma2y ago
1 reply
beeman

First time migration!

I'm workin on a project that's in production on a few servers (not all are in my control).

I want to add migrations to this project, and I'm wondering about 'Applying the initial migrations'.

Is the idea that I run this npx prisma migrate resolve --applied 0_init in all of my production databases, or is this for the local one when I create the migration?

Ideally, I don't have to go into all of the production instances (or ask their ops ppl) and running a prisma migrate deploy will do.

Suggestions here are welcome!
image.png
Was this page helpful?