P
Prisma6mo ago
Connor

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
Deploying database changes with Prisma Migrate | Prisma Documentation
Learn how to deploy database changes with Prisma Migrate.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server