Prisma Migrations With Turbo Repo

Hi - im using turborepo to house multiple apis, some frontends, and some cloud functions all within a single repo. I also have multiple shared packages that i use accross those deployables. One of the packages im introducing is packages/prisma-orm which will house all of my prisma logic - schema, migrations, etc. Because i have several different backends using this, each scalled horizontally, I want to make a standalone service for running migrations as a CI step. The issue is - if the prisma directory lives within packages/prisma-orm/prisma/migrations,schema.prisma - how can i access the lockfile and migrations from elsewhere? Maybe this is more of a question for turbo discord - but hoping to catch any Prisma+Turbo Users
0 Replies
No replies yetBe the first to reply to this messageJoin