🐛 Fix unexpected operation ordering.

This commit is contained in:
Andrey Antukh 2020-01-28 12:48:09 +01:00
parent 75b64b71bf
commit 590b68aa29
3 changed files with 12 additions and 31 deletions

View file

@ -181,7 +181,8 @@
"select s.id, s.changes
from project_page_snapshots as s
where s.page_id = $1
and s.version > $2")
and s.version > $2
order by s.created_at asc")
(defn- retrieve-lagged-changes
[conn snapshot params]