File tree Expand file tree Collapse file tree
sormas-backend/src/main/resources/sql Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15467,4 +15467,18 @@ ALTER TABLE exposures_protectivemeasures_history OWNER TO sormas_user;
1546715467
1546815468INSERT INTO schema_version (version_number, comment) VALUES (614, '#13887 - Exposure form redesign');
1546915469
15470+ -- updated regexes for MENU system config values
15471+ UPDATE systemconfigurationvalue
15472+ SET value_pattern = '^(default|red|green|indigo|gray)|(#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}))$'
15473+ WHERE config_key = 'MENU_BACKGROUND_COLOR';
15474+
15475+ UPDATE systemconfigurationvalue
15476+ SET value_pattern = '^[\w\s]{0,16}$'
15477+ WHERE config_key = 'MENU_SUBTITLE';
15478+
15479+ INSERT INTO schema_version (version_number, comment) VALUES (615, '#13552 - FIX menu regexes');
15480+
15481+
15482+
15483+
1547015484-- *** Insert new sql commands BEFORE this line. Remember to always consider _history tables. ***
You can’t perform that action at this time.
0 commit comments