Syntax Error and missing fields when pulling schema.

I already have a project in which I used prisma. Now I want to switch to drizzle, I ran drizzle-kit introspect:pg and it generated a schema.ts file as expected but the user model is missing role field and schema file has Syntax Error
1 Reply
Phantom
PhantomOP16mo ago
this file has export const role = pgEnum(...) but it is not linked to user model
Want results from more Discord servers?
Add your server