rbravo
Explore posts from serversDTDrizzle Team
•Created by rbravo on 1/30/2024 in #help
Postgresql Foreign Key doesn't accept a name config param?
1 replies
DTDrizzle Team
•Created by rbravo on 1/19/2024 in #help
Error: There is not enough information to infer relation
Hey,
I'm trying to convert a Prisma schema to Drizzle.
Here's the schema:
When I try to run
drizzle-kit studio
I get this error: "rror: There is not enough information to infer relation "public.messages.replies"
at normalizeRelation"
Am I doing something wrong here?38 replies
How to connect FastAPI with Planetscale (mysqlclient error)
Hey, how are you guys doing? I have a backend on Railway who is running with FastAPI (using this template https://railway.app/template/-NvLj4).
I'm also using planetscale, which requires me to have
mysqlclient
as a dependency. The problem is that when the app is building I'm getting the error attached.
Does anyone know how can I fix this?12 replies