Vladi Stevanovic
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.create
Copy codeThe 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 migrateschema.prisma
Nurul
09/27/2022, 11:01 AMnpx prisma migrate dev
then it should create as well as apply your migrations, after which your queries should work as expected.Gourave Verma
09/27/2022, 3:26 PMyarn prisma migrate dev
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?Nurul
09/28/2022, 11:53 AMGourave Verma
09/30/2022, 12:52 AM