lol forgot file

This commit is contained in:
Alma Armas 2021-01-27 18:05:29 +00:00
parent 0c80f1f041
commit d9fbe6f7aa

View file

@ -0,0 +1,20 @@
UPDATE
`messages`
SET
`unread` = 0
WHERE
(`id` > ?)
AND (
(
(`sender_type` = ?)
AND (`recipient_type` = ?)
AND (`sender_id` = ?)
AND (`recipient_id` = ?)
)
OR (
(`sender_type` = ?)
AND (`recipient_type` = ?)
AND (`sender_id` = ?)
AND (`recipient_id` = ?)
)
)