fix 30 day -> 30 days in expiresAt
parent
e6b2ff46ed
commit
d66fd6a6c8
|
@ -370,7 +370,7 @@ model ApiKey {
|
|||
userId Int
|
||||
note String?
|
||||
createdAt DateTime @default(now())
|
||||
expiresAt DateTime @default(dbgenerated("NOW() + interval '30 day'"))
|
||||
expiresAt DateTime @default(dbgenerated("NOW() + interval '30 days'"))
|
||||
lastUsedAt DateTime @default(now())
|
||||
hashedKey String @unique()
|
||||
user User? @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
|
Loading…
Reference in New Issue