yanuu :)
yanuu :)
TTCTheo's Typesafe Cult
Created by yanuu :) on 8/14/2024 in #questions
Table "appointment" does not exist in the current database error, but other routes do alright
Hi. I'm using T3 with App Router and I am running into an issue with tRPC and Prisma. I have an appointment tRPC router that handles and returns data from Prisma. I have a page where all appointments are rendered within a table - everything fetches just fine. But when I want to perform a mutation of one appointment, tRPC spits out a Prisma error saying that the appointment table doesn't exist. There are no steps to reproduce, unless it has something to do with creating a trigger manually through the command line in PSQL.
How can I fix this?
4 replies
TTCTheo's Typesafe Cult
Created by yanuu :) on 7/29/2024 in #questions
tRPC react-query TypeError
No description
3 replies