Connor
Connor
PPrisma
Created by Connor on 6/21/2024 in #help-and-questions
Prisma git ops deployment
Hi All, I'm looking into using prisma to define our db schema and I'm wondering what the best practices / tools are for doing git-ops. I want to make sure that when I update the schema in the codebase, the db schema is automatically updated. It looks like prisma migrate kind of does this, except it doesn't cover the init case (if I understand correctly). How do I initialize the db (obviously I could connect and run something locally, but this isn't good because then my schema doesn't have to be reviewed before I init the db)? https://www.prisma.io/docs/orm/prisma-client/deployment/deploy-database-changes-with-prisma-migrate
1 replies