Prisma question @default string

yo is there a @default for "user{id}" to set as the username? for example user with id 4234 -> username: user4234
model User {
id Int @default(autoincrement()) @id
username String @unique @db.VarChar(30)
model User {
id Int @default(autoincrement()) @id
username String @unique @db.VarChar(30)
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server