okay so i have this serverless lambda application where im including prisma dependencies as a layer
My question is, if i run a migration on the db, thus need to create a new client in the layer, do i need to redeploy the layer to run that script?
✅ 1
n
Nurul
09/29/2022, 3:54 PM
Hi Husnain 👋
Your lambda function would need the new updated PrismaClient which was generated after the db migrations, so I think you would need to redeploy.
✅ 1
h
Husnain Saeed
09/30/2022, 4:37 PM
Thanks a lot @Nurul,
I figured that will be the only feasible solution.