Skip to content

Commit f80fa35

Browse files
committed
fix(coprocessor): db migration, improve indexing for sns worker fetching work
1 parent 3b11a36 commit f80fa35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CREATE INDEX CONCURRENTLY idx_pbs_computations_pending_created_at
2+
ON pbs_computations (created_at, handle)
3+
WHERE is_completed = FALSE;Second,
4+
5+
CREATE INDEX CONCURRENTLY idx_ciphertexts_handle_not_null
6+
ON ciphertexts (handle)
7+
WHERE ciphertext IS NOT NULL;

0 commit comments

Comments
 (0)