loopdb: add deposit indices

This commit is contained in:
Slyghtning 2025-08-12 11:59:04 +02:00
parent d7635f3b2a
commit e141018da5
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
DROP INDEX IF EXISTS deposit_updates_id_timestamp_index;

View file

@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS deposit_updates_id_timestamp_index ON deposit_updates(deposit_id, update_timestamp DESC);