fix: remove metadata:Json and add note:String instead in new apiKey model
parent
76f951d76f
commit
9a5eb0e43d
|
@ -371,5 +371,5 @@ model ApiKey {
|
|||
user User? @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
createdAt DateTime @default(now())
|
||||
expiresAt DateTime @default(dbgenerated("NOW() + interval '30 day'"))
|
||||
metadata Json?
|
||||
note String?
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue