From 3170523cd42d6118068a25a19ec7878c7992d0f4 Mon Sep 17 00:00:00 2001 From: Edward Karavakis Date: Wed, 10 Jan 2024 12:03:57 +0100 Subject: [PATCH] Fixed issue with wrong index declaration --- main/etc/sql/postgresql.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/etc/sql/postgresql.sql b/main/etc/sql/postgresql.sql index 1c124839..0804b940 100644 --- a/main/etc/sql/postgresql.sql +++ b/main/etc/sql/postgresql.sql @@ -517,8 +517,7 @@ CREATE INDEX "CONTENTS_REQ_TF_COLL_IDX" ON doma_idds.contents (request_id, trans CREATE INDEX "CONTENTS_TF_IDX" ON doma_idds.contents (transform_id, request_id, coll_id, map_id, content_relation_type); -CREATE INDEX "CONTENTS_ID_NAME_IDX" ON doma_idds.contents (coll_id, scope, md5('name'); -, status); +CREATE INDEX "CONTENTS_ID_NAME_IDX" ON doma_idds.contents (coll_id, scope, md5('name'), status); SET search_path TO doma_idds;