mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Fix order at PostgreSQL
https://github.com/nextcloud/spreed/issues/7863 Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
651a7a916e
commit
93cc70d055
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,8 @@ class Messages {
|
|||
$query->select('*')
|
||||
->from('talk_internalsignaling')
|
||||
->where($query->expr()->eq('recipient', $query->createNamedParameter($sessionId)))
|
||||
->andWhere($query->expr()->lte('timestamp', $query->createNamedParameter($time)));
|
||||
->andWhere($query->expr()->lte('timestamp', $query->createNamedParameter($time)))
|
||||
->orderBy('id', 'ASC');
|
||||
|
||||
$delete = $this->db->getQueryBuilder();
|
||||
$delete->delete('talk_internalsignaling')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue