File tree Expand file tree Collapse file tree
backend/src/main/resources/config/liquibase Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <databaseChangeLog
3+ xmlns =" http://www.liquibase.org/xml/ns/dbchangelog"
4+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : schemaLocation =" http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd" >
6+
7+ <changeSet id =" 20260522001" author =" Alex" >
8+ <comment >Set utmstack.socai.customHeaders data type to password</comment >
9+ <sql dbms =" postgresql" splitStatements =" false" >
10+ <![CDATA[
11+ do $$
12+ declare
13+ grp_id integer;
14+ begin
15+ select id into grp_id from public.utm_module_group
16+ where module_id = (select id from public.utm_module where module_name = 'SOC_AI')
17+ limit 1;
18+
19+ IF grp_id IS NOT NULL THEN
20+ UPDATE public.utm_module_group_configuration
21+ SET conf_data_type = 'password'
22+ WHERE group_id = grp_id AND conf_key = 'utmstack.socai.customHeaders';
23+ END IF;
24+ end;
25+ $$ language plpgsql;
26+ ]]>
27+ </sql >
28+ </changeSet >
29+ </databaseChangeLog >
Original file line number Diff line number Diff line change 597597
598598 <include file =" /config/liquibase/changelog/20260409002_update_socai_config.xml" relativeToChangelogFile =" false" />
599599
600+ <include file =" /config/liquibase/changelog/20260522001_update_socai_custom_headers_password.xml" relativeToChangelogFile =" false" />
601+
600602</databaseChangeLog >
You can’t perform that action at this time.
0 commit comments