From b714af1a556f4a14cea3e90fc356881dd2eea625 Mon Sep 17 00:00:00 2001 From: Mohamad Fadhil Date: Tue, 17 Dec 2024 16:55:42 +0800 Subject: [PATCH] fix: fix SQL migration script (#106) Signed-off-by: Mohamad Fadhil --- resources/durablestore_postgres.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/durablestore_postgres.sql b/resources/durablestore_postgres.sql index 83eefa9..a2c5993 100644 --- a/resources/durablestore_postgres.sql +++ b/resources/durablestore_postgres.sql @@ -35,3 +35,6 @@ CREATE TABLE IF NOT EXISTS states_store CREATE INDEX IF NOT EXISTS idx_states_store_persistence_id ON events_store(persistence_id); CREATE INDEX IF NOT EXISTS idx_states_store_version_number ON events_store(version_number); ); + +CREATE INDEX IF NOT EXISTS idx_states_store_persistence_id ON states_store(persistence_id); +CREATE INDEX IF NOT EXISTS idx_states_store_version_number ON states_store(version_number);