feat: specify users to remove notifications from

This commit is contained in:
sychic
2026-06-02 17:09:50 +01:00
committed by Calum H. (IMB11)
parent f12ea058de
commit d2e24ea4ae
3 changed files with 42 additions and 9 deletions
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT id\n FROM notifications\n WHERE body @> $1::jsonb\n ",
"query": "\n SELECT id\n FROM notifications\n WHERE body @> $1::jsonb\n AND user_id = ANY($2::bigint[])\n ",
"describe": {
"columns": [
{
@@ -11,12 +11,13 @@
],
"parameters": {
"Left": [
"Jsonb"
"Jsonb",
"Int8Array"
]
},
"nullable": [
false
]
},
"hash": "00d809d1dc9dd1eb2c49ebaac2387f82c5730d835ae1c52d5df23b5f09cd1925"
"hash": "147f31c59219c5485531914897618427375b203777a68fd6ece1a50feaf41df9"
}