Skip to content

0.9.0-dev.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@marcjulian marcjulian released this 18 Mar 08:50
· 33 commits to main since this release

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
}