Sort latest updates ascending

This commit is contained in:
Andras Schmelczer 2025-04-08 22:23:01 +01:00
parent 33fd127cf6
commit dc124ace20
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -145,7 +145,7 @@ impl Database {
updated_date as "updated_date: chrono::DateTime<Utc>",
is_deleted
from latest_document_versions
order by vault_update_id desc
order by vault_update_id
"#,
);
@ -178,7 +178,7 @@ impl Database {
is_deleted
from latest_document_versions
where vault_update_id > ?
order by vault_update_id desc
order by vault_update_id
"#,
vault_update_id
);