🗃️ create dbml generator

Generate dbml from the Prisma schema when executing the command `bunx prisma generate`. The dbml can be used to
visualize the ERD using the dbdiagram.io website.
This commit is contained in:
Rafi Arrafif
2025-08-24 07:03:18 +07:00
parent 8abf3d3818
commit 5cce8eea9f
4 changed files with 990 additions and 15 deletions

View File

@ -15,7 +15,9 @@ datasource db {
url = env("DATABASE_URL")
}
generator dbml {
provider = "prisma-dbml-generator"
}