From 46bd8165ed233d7c97d11fe1321c3d9c6095e274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sat, 8 Nov 2025 23:54:24 +0100 Subject: [PATCH] fix: change LOWER to HIGHER --- src/Entity/Entity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Entity.php b/src/Entity/Entity.php index 69bd3ab..3a66d27 100644 --- a/src/Entity/Entity.php +++ b/src/Entity/Entity.php @@ -69,7 +69,7 @@ class Entity type: 'string', insertable: false, updatable: false, - columnDefinition: "VARCHAR(255) GENERATED ALWAYS AS (LOWER(jsonb_path_query_first(j_card, '$[1]?(@[0] == \"fn\")[3]') #>> '{}')) STORED", + columnDefinition: "VARCHAR(255) GENERATED ALWAYS AS (UPPER(jsonb_path_query_first(j_card, '$[1]?(@[0] == \"fn\")[3]') #>> '{}')) STORED", generated: 'ALWAYS', )] private ?string $jCardFn; @@ -78,7 +78,7 @@ class Entity type: 'string', insertable: false, updatable: false, - columnDefinition: "VARCHAR(255) GENERATED ALWAYS AS (LOWER(jsonb_path_query_first(j_card, '$[1]?(@[0] == \"org\")[3]') #>> '{}')) STORED", + columnDefinition: "VARCHAR(255) GENERATED ALWAYS AS (UPPER(jsonb_path_query_first(j_card, '$[1]?(@[0] == \"org\")[3]') #>> '{}')) STORED", generated: 'ALWAYS', )] private ?string $jCardOrg;