okay so i have this serverless lambda application ...
# random
h
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
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
Thanks a lot @Nurul, I figured that will be the only feasible solution.
🙌 1