Alan
05/23/2022, 3:27 AM(new PrismaClient()).album
but when chaining .findMany()
after that I get an exception The table 'public.Album' does not exist in the current database.
, which doesn't make sense since I have checked on both the remote postgres db and the remote postgres shadow db and both have a public Album table. Any help is much appreciatedNurul
05/23/2022, 6:52 AMPrismaClient
after running migrate?
It may happen that your PrismaClient is not in sync with your database schema.
Can you run npx prisma generate
and check?