From ecf0b64608eb7dec8cecfd4058a1b7aade7d7660 Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Fri, 12 Jan 2024 13:22:18 +0100 Subject: [PATCH] restore index idx_accounts_map_blocks_slot --- migration.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migration.sql b/migration.sql index 7540c80..864ae90 100644 --- a/migration.sql +++ b/migration.sql @@ -132,6 +132,8 @@ CREATE TABLE banking_stage_results_2.accounts_map_transaction_latest( tx_ids BIGINT[] ); +CREATE INDEX idx_accounts_map_blocks_slot ON banking_stage_results_2.accounts_map_blocks(slot); + CREATE OR REPLACE FUNCTION array_dedup_append(base bigint[], append bigint[], n_limit int) RETURNS bigint[] AS $$