Drizzle Schema Defaults

This is one of my table schemas in Prisma
model User {
  id          Int          @id @default(autoincrement())
  email       String       @unique
  username    String       @unique
  credentials Credential[]

  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}


Are identifiers such as @id and default with values such as autoincrement() and now() available in Drizzle? I am using better-sqlite-3 as the driver
Was this page helpful?