(temp): fix extract entries query
Some checks failed
release / docker (push) Has been cancelled

This commit is contained in:
Mohamed Sohail 2025-03-24 12:23:53 +03:00
parent fbd5f28d54
commit ad4963e5a0
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -1,8 +1,11 @@
--name: extract-entries
SELECT key, value, updated FROM kv_vise
SELECT id, key, value, updated FROM kv_vise
WHERE updated > (SELECT last_sync FROM ussd_sync LIMIT 1)
ORDER BY updated DESC
--name: update-cursor
-- $1: timestamp
UPDATE ussd_sync SET last_sync = ($1)
-- 202b3235343732343934323039370013
-- 202b3235343731313030303132330013