Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">

<changeSet id="20260522001" author="Alex">
<comment>Set utmstack.socai.customHeaders data type to password</comment>
<sql dbms="postgresql" splitStatements="false">
<![CDATA[
do $$
declare
grp_id integer;
begin
select id into grp_id from public.utm_module_group
where module_id = (select id from public.utm_module where module_name = 'SOC_AI')
limit 1;

IF grp_id IS NOT NULL THEN
UPDATE public.utm_module_group_configuration
SET conf_data_type = 'password'
WHERE group_id = grp_id AND conf_key = 'utmstack.socai.customHeaders';
END IF;
end;
$$ language plpgsql;
]]>
</sql>
</changeSet>
</databaseChangeLog>
2 changes: 2 additions & 0 deletions backend/src/main/resources/config/liquibase/master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -597,4 +597,6 @@

<include file="/config/liquibase/changelog/20260409002_update_socai_config.xml" relativeToChangelogFile="false"/>

<include file="/config/liquibase/changelog/20260522001_update_socai_custom_headers_password.xml" relativeToChangelogFile="false"/>

</databaseChangeLog>
Loading