Sebastian Rindom
01/08/2022, 11:31 AMmedusa migrations run
will ensure that all missing migrations from core + plugins are applied
Trying to map this to Prisma my thinking so far is this:
• Core + Plugins will have schema.prisma
• Core + Plugins will have migrations
• *Core will programmatically collect migrations and call Prisma Migrate
• *Core programatically creates a Prisma client that is unique to the user’s core + plugins combination
My questions are about the last two steps marked with * - 1) are these steps possible and recommended and 2) are there alternative approaches that would be better