prisma-dbml-generator
prisma-dbml-generator copied to clipboard
Incorrect Mapping of uuid Type to string in DBML Output
When using the Prisma schema with a uuid type, the DBML output is incorrectly mapping the field as string instead of uuid.
Example
Prisma Schema (input):
model User {
id String @id @db.Uuid
}
DBML Output:
Table users {
id String [pk]
}
Expected DBML Output:
Table users {
id uuid [pk]
}
It would be helpful if the DBML output could correctly reflect the uuid type from the Prisma schema. Thank you!