-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapped field name #40
Comments
Do you mean model User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now()) @db.DateTime(0)
updatedAt DateTime @updatedAt @map("updated_at") 👈
email String @unique
name String? @db.VarChar(255)
} Last time I checked #18 (comment) only |
yes sir, can you add @Map(...) in DMFF schema from prisma ? |
@erlanggadewa if you want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there is an option to use mapped field name into the database?
The text was updated successfully, but these errors were encountered: