fix: revoke tokens on demotions of superadmins

This commit is contained in:
Ruben Fiszel
2025-09-10 09:20:11 +00:00
parent 204e64ea00
commit 4c41cc0dc2
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM token WHERE email = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "192ddae8c3c82a8f099a4944483024d9826a328bf0416c22daf06fff5ced08f6"
}