Angel
07/26/2022, 10:45 PMnpx prisma generate ? I usually migrate my schemas using npx prisma migrate [...] , which I think also regenerates the Prisma Client, so what are other use cases for npx prisma generate ?Nurul
07/27/2022, 6:49 AMnpx prisma generate command should be invoked anytime you make changes to your schema.prisma file, for your PrismaClient to be in sync with your schema file you would need to execute the generate command.
Here’s the related reference from the docs.Omar
07/27/2022, 5:14 PM