From 994a4facb38a40501c64b69411bcd04d036a2500 Mon Sep 17 00:00:00 2001 From: Andrew Block Date: Fri, 22 Sep 2023 07:47:28 -0500 Subject: [PATCH] Correct index creation Signed-off-by: Andrew Block --- scripts/storage.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/storage.sql b/scripts/storage.sql index 1e691a8b8..939ed1272 100644 --- a/scripts/storage.sql +++ b/scripts/storage.sql @@ -129,7 +129,7 @@ CREATE TABLE IF NOT EXISTS SequencedLeafData( ); -CREATE INDEX SequencedLeafMerkleIdx +CREATE INDEX IF NOT EXISTS SequencedLeafMerkleIdx ON SequencedLeafData(TreeId, MerkleLeafHash); CREATE TABLE IF NOT EXISTS Unsequenced(