mirror of
https://github.com/ente-io/ente.git
synced 2025-05-16 01:26:19 +00:00
4 lines
231 B
SQL
4 lines
231 B
SQL
-- create partial index on non-deleted queue items as we always query for non-deleted entries
|
|
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_queue_created_at_non_deleted ON queue (queue_name, created_at)
|
|
WHERE is_deleted = false;
|