0.9.0
Features
generator dbml {
provider = "node ./dist/generator.js"
mapToDbSchema = "true" // π enable mapToDbSchema with the new option
}
model User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
email String @unique
name String?
@@map("user") // π this will be used in the dbml schema
}
Credits
Thanks to @PabloSzx for adding primitive list support.