feat: Add support for multiple active keys at a time (#13754)

This commit is contained in:
Stevche Radevski
2025-10-16 10:07:08 +02:00
committed by GitHub
parent 1ca329d9b3
commit ee1c77a01f
6 changed files with 70 additions and 86 deletions

View File

@@ -18,6 +18,12 @@ const ApiKey = model
on: ["token"],
unique: true,
},
{
on: ["revoked_at"],
},
{
on: ["redacted"],
},
{
on: ["type"],
},