Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
First time migration! - Prisma
P
Prisma
•
2y 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
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
prisma migrate deploy
will do
.
Suggestions here are welcome
!
Prisma
Join
The official Discord server of Prisma! Find us online at prisma.io
9,819
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Second time migration error with enum
P
Prisma / help-and-questions
9mo ago
apply migration script from migrations
P
Prisma / help-and-questions
2y ago
Migration Help
P
Prisma / help-and-questions
9mo ago
Prisma Migration
P
Prisma / help-and-questions
14mo ago