Closed Ultrasclash closed 1 year ago
15:06:47.327 | Error: 15:06:47.327 | Invalid prisma.user.findMany() invocation: 15:06:47.327 | 15:06:47.327 | 15:06:47.327 | The table public.User does not exist in the current database.
prisma.user.findMany()
public.User
You should push your prisma db
thanks, how would we push prisma db? locally?
run npx prisma db push
npx prisma db push
it should also be automatically ran when you do next build
next build
Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error
15:06:47.327 | Error: 15:06:47.327 | Invalid
prisma.user.findMany()
invocation: 15:06:47.327 | 15:06:47.327 | 15:06:47.327 | The tablepublic.User
does not exist in the current database.