feat(sqlx): adding the cache from the database

This commit is contained in:
Raphael 2026-02-17 15:26:49 +01:00 committed by Raphaël
parent 68beb0c582
commit e712275a64
20 changed files with 681 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE guild_users SET invitation_count = GREATEST(invitation_count - 1, 0) WHERE user_id = $1 AND guild_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": []
},
"hash": "644a753755c11c731882d2a60b619d57a6f5a7b70b10658031bff39be85cdcb0"
}