fix: remove metadata:Json and add note:String instead in new apiKey model

pull/2374/head
Agusti Fernandez Pardo 2022-03-25 20:07:15 +01:00
parent 76f951d76f
commit 9a5eb0e43d
1 changed files with 1 additions and 1 deletions

View File

@ -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?
}