alexwasik
04/14/2022, 8:04 PMnpx prisma migrate deploy
and it completes the task. Of course i hit the endpoint locally, I get a response. I hit the prod endpoint and get Error: TypeError: Cannot read property 'findMany' of undefined
alexwasik
04/14/2022, 8:05 PMnpx prisma migrate reset
and clear all the dataalexwasik
04/14/2022, 8:06 PMalexwasik
04/14/2022, 8:06 PMAustin
04/14/2022, 9:42 PMprisma generate
in production?alexwasik
04/14/2022, 9:43 PMalexwasik
04/14/2022, 9:46 PMalexwasik
04/14/2022, 9:46 PMalexwasik
04/14/2022, 9:47 PMAustin
04/14/2022, 9:49 PMalexwasik
04/14/2022, 9:49 PMalexwasik
04/14/2022, 9:51 PMsqlite.db
file and re-ran the migrations. It's so oddalexwasik
04/14/2022, 9:52 PMClear Cache and Re-deploy
on Render and see if that helpsalexwasik
04/14/2022, 9:52 PMAustin
04/14/2022, 9:52 PMprisma generate
in a postinstall or build script?alexwasik
04/14/2022, 9:55 PMalexwasik
04/14/2022, 9:57 PM