Skip to content

Incorrect Mapping of uuid Type to string in DBML Output #57

Open
@YukiTsuchida

Description

@YukiTsuchida

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions