Load hashes of more recent posts first.

This commit is contained in:
Syfaro 2020-01-12 01:39:03 -06:00
parent a71d442f87
commit 1ce40026b3

View File

@ -77,6 +77,7 @@ async fn main() {
hash_error IS NULL AND hash_error IS NULL AND
data->>'file_ext' IN ('jpg', 'png') AND data->>'file_ext' IN ('jpg', 'png') AND
data->>'file_url' <> '/images/deleted-preview.png' data->>'file_url' <> '/images/deleted-preview.png'
ORDER BY id DESC
LIMIT 100", LIMIT 100",
&[], &[],
) )