Hey all, I'm trying to use prisma along with this article to create a multi tenant application. I have everything setup, but when I try to migrate, I can't create tables in other schemas in my database.
When I try to run a query likeI get an error like
The table `e874649f-ac3e-47c0-bbd5-994fdd7dc116.User` does not exist in the current database.
which makes sense.
Im new to prisma so I was wondering if anyone had any ideas on how I could create the tables specified inin my db when I run migrate
Nurul09/27/2022, 11:01 AM
then it should create as well as apply your migrations, after which your queries should work as expected.
npx prisma migrate dev
Gourave Verma09/27/2022, 3:26 PM
the only issue I have is pushing the migrations to other schemas. Right now I can only specify one schema type. Is there a way to call migrate and push the migrations to all schemas?
yarn prisma migrate dev
Nurul09/28/2022, 11:53 AM
Gourave Verma09/30/2022, 12:52 AM