mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Messages: @celestora had forgotten about existing of deleted messages for correspondencies sql file, so i fixed it in her place
This commit is contained in:
parent
944d338034
commit
7c516a8089
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,8 @@ SELECT DISTINCT id, class FROM
|
|||
sender_id = ?
|
||||
AND
|
||||
sender_type = ?
|
||||
AND
|
||||
deleted = 0
|
||||
) UNION (
|
||||
SELECT
|
||||
sender_id AS id,
|
||||
|
@ -20,6 +22,8 @@ SELECT DISTINCT id, class FROM
|
|||
recipient_id = ?
|
||||
AND
|
||||
recipient_type = ?
|
||||
AND
|
||||
deleted = 0
|
||||
)
|
||||
ORDER BY
|
||||
time
|
||||
|
|
Loading…
Reference in a new issue