-
Notifications
You must be signed in to change notification settings - Fork 715
Open
SoftwareBrothers/adminjs-prisma
#34Labels
bugSomething isn't workingSomething isn't working
Description
Contact Details
No response
What happened?
I creating models with with field:
'updatedAt DateTime @default(now()) @updatedat'
And than updating any fields from admin js, field 'updatedAt' didn't changing.
If i try updating from basic route, field 'updatedAt' works normally.
Bug prevalence
Any time
AdminJS dependencies version
"@adminjs/design-system": "3.1.8",
"@adminjs/express": "5.1.0",
"@adminjs/nestjs": "5.1.0",
"@adminjs/prisma": "3.0.1",
What browsers do you see the problem on?
No response
Relevant log output
No response
Relevant code that's giving you issues
model Template {
id Int @id @default(autoincrement())
type String @unique
html String
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working