hari_narayan
PPrisma
•Created by hari_narayan on 1/29/2025 in #help-and-questions
Schema migration automation
Public schema is attached to my node.js app...i want to migrate schema of for y name schema to database....
I have prisma/public/public.schema folder structure and prisma/shema.prisma for schema db structure...so on api request i want to do migration how???
I have used excutesafe but its failed due to multiple commands....
Sql inside of it....
5 replies
PPrisma
•Created by hari_narayan on 1/25/2025 in #help-and-questions
Initialisation of prisma req based nestjs
Respected sir,
My passport google strategy requires authservice in and that requires prisma request based service due to this my passport js is not initializing at start of app....
For that ai suggested moduleref of prismaReqBased service anything best service to inject in authservice....
Anything i am doing wrong ..
🙏
So prismaBaseservice will be injected everywhere in applications....
Prisma baservive is moduleref and request passes to request based tanant servive and then it is working.....
12 replies
PPrisma
•Created by hari_narayan on 1/23/2025 in #help-and-questions
Gi,Migration 2 shemafiles...schma1.prisma
Respected sir,
shema1.prisma and shema2.prisma
Fules how to generate migration files for both in seperate folders....what cli command i can use #migrations
Prisma folder in that this two files exists....
Thanks
11 replies
PPrisma
•Created by hari_narayan on 1/7/2025 in #help-and-questions
PrismaModule as globle in neatjs with prisma service and dburl
How to #parametrize db url if i want to always pass this url from my request.
I want like db per tanant model...
3 replies