store certs in db

This commit is contained in:
Huskydog9988
2025-03-14 10:53:37 -04:00
parent 98c8258127
commit 61764e81b8
3 changed files with 78 additions and 5 deletions

View File

@ -41,3 +41,12 @@ model APIToken {
@@index([token])
}
model Certificate {
id String @id @default(uuid())
privateKey String
certificate String
blacklisted Boolean @default(false)
}