Prisma model name preferences

Hello, What do you guys prefer or what is the "right" thing to do?
model User {
...
date_created
or
dateCreated @@map("date_created")
@@map("user")
}
model User {
...
date_created
or
dateCreated @@map("date_created")
@@map("user")
}
1 Reply
FluX
FluX2y ago
I like to use createdAt and updatedAt. There is no right or wrong
Want results from more Discord servers?
Add your server