From f5c44055691031851b3ff2874ae44c0499fa3dce Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@martin-legene.dk> Date: Thu, 18 Feb 2021 18:44:16 -0300 Subject: [PATCH] Raul Reider pidio un indice mas. --- postgres/10-postgres.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/postgres/10-postgres.sql b/postgres/10-postgres.sql index 01f2ec6..db875c0 100644 --- a/postgres/10-postgres.sql +++ b/postgres/10-postgres.sql @@ -52,6 +52,7 @@ CREATE INDEX "block_parentBlockHashId" ON "public"."blo CREATE INDEX "block_sealerAccountId" ON "public"."block" ("sealerAccountId"); CREATE INDEX "block_number" ON "public"."block" ("number"); CREATE INDEX "block_timestamp" ON "public"."block" ("timestamp"); +CREATE INDEX "block_sealerAccountId_timestamp" ON "public"."block" ("sealerAccountId","timestamp"); CREATE TABLE "public"."transaction" ( "hash" character(66) NOT NULL, -- GitLab