faithful
11/24/2020, 8:59 PMSwapnull
11/24/2020, 9:10 PMyarn prisma introspect && yarn prisma generate and then yarn dev or whatever your dev script is (replace yarn with npm run if needed).
That may solve it if you just needed to regenerate.
If not, I would then check schema.prisma and search for model investor to ensure that it is not commented out due to something like missing primary key. It should tell you why it's commented out if it is.
Other than that, I don't know. If the model is there and you have regenerated and it still doesn't work, there may be a deeper issue.faithful
11/24/2020, 9:33 PMLeonardo
11/25/2020, 2:43 PM