Merge pull request #990 from hieblmi/deposit-update-index

loopdb: add deposit indices
This commit is contained in:
Slyghtning 2025-08-18 13:21:54 +02:00 committed by GitHub
commit f54d580b73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);