Skip to content

Commit e322a60

Browse files
authored
Merge pull request #13125 from SORMAS-Foundation/bugfix-13121-error-during-fresh-install-of-system-at-server-update-step
#13121 - Error during Fresh Install of system at server update step
2 parents 22ed5d3 + 40124f0 commit e322a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sormas-backend/src/main/resources/sql/sormas_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12834,7 +12834,7 @@ ALTER TABLE userroles_history ADD COLUMN restrictAccessToAssignedEntities boolea
1283412834
INSERT INTO schema_version (version_number, comment) VALUES (536, 'Assign case(s) to a User and allow them to see the data of only the assigned case(s) in the system #12697');
1283512835

1283612836
-- 2023-12-18 Move hide jurisdiction fields feature property to dedicated feature type #12806
12837-
INSERT INTO featureconfiguration (id, uuid, creationdate, changedate, enabled, featuretype)VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), (SELECT properties::jsonb->'HIDE_JURISDICTION_FIELDS' FROM featureconfiguration WHERE featuretype = 'CASE_SURVEILANCE')::text::boolean, 'HIDE_JURISDICTION_FIELDS');
12837+
INSERT INTO featureconfiguration (id, uuid, creationdate, changedate, enabled, featuretype)VALUES (nextval('entity_seq'), generate_base32_uuid(), now(), now(), coalesce((SELECT properties::jsonb->'HIDE_JURISDICTION_FIELDS' FROM featureconfiguration WHERE featuretype = 'CASE_SURVEILANCE')::text::boolean, false), 'HIDE_JURISDICTION_FIELDS');
1283812838

1283912839
UPDATE featureconfiguration SET properties = properties::jsonb - 'HIDE_JURISDICTION_FIELDS' WHERE featuretype = 'CASE_SURVEILANCE';
1284012840

0 commit comments

Comments
 (0)