How to change @id default format with prisma
Hello guys
model User {
id String @id @default(dbgenerated("concat('usr_', (nextval('user_seq'::regclass))::text)"))
...other fields
}
I want to use this definition in Prisma, but it seems that BetterAuth generates the id by itself. So I can't use this custom id generation.
How can I make it work with my custom id logic?
@Ping sorry for the mention 😄
2 Replies