PrismaP
Prisma2mo ago
6 replies
pedro

Help understand prisma deploy place in a pipeline

My understanding is:
- generate does generate prisma code and should be part of my docker build process (Dockerfile/Docker image).
- deploy applies my migrations into my database and should be somehow part of my ci/cd pipeline and not part of the docker build process (Dockerfile/Docker image).
Is this correct?
Please help me understad. What would be the best place to use prisma deplopy? On a ci action or on an ephemeral service that only does that?
Was this page helpful?