From e3a3df141afa25ab468e17af4248ae2e0c3367b0 Mon Sep 17 00:00:00 2001 From: Jannik Steenken Date: Wed, 24 Jul 2024 10:46:06 +0200 Subject: [PATCH] fix: rename uppercase indices --- .../tkit/onecx/announcement/domain/models/Announcement.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/tkit/onecx/announcement/domain/models/Announcement.java b/src/main/java/org/tkit/onecx/announcement/domain/models/Announcement.java index 5b432ba..c76485c 100644 --- a/src/main/java/org/tkit/onecx/announcement/domain/models/Announcement.java +++ b/src/main/java/org/tkit/onecx/announcement/domain/models/Announcement.java @@ -13,9 +13,9 @@ @Setter @Entity @Table(name = "announcement", indexes = { - @Index(name = "start_status_idx", columnList = "startDate, status, TENANT_ID"), - @Index(name = "product_idx", columnList = "PRODUCT_NAME, TENANT_ID"), - @Index(name = "workspace_idx", columnList = "workspaceName, TENANT_ID") + @Index(name = "START_STATUS_IDX", columnList = "startDate, status, TENANT_ID"), + @Index(name = "PRODUCT_IDX", columnList = "PRODUCT_NAME, TENANT_ID"), + @Index(name = "WORKSPACE_IDX", columnList = "workspaceName, TENANT_ID") }) @SuppressWarnings("java:S2160") public class Announcement extends TraceableEntity {