diff --git a/.liquibase/Data_alias/basic/2021.2.0/Duplicate/update_duplicatepattern.xml b/.liquibase/Data_alias/basic/2021.2.0/Duplicate/update_duplicatepattern.xml index 8efa04b6b979145598eb87fbe56fe75eb2109d9d..e29aa3d5415c8e8222d880e3074e09e0ac0baa9c 100644 --- a/.liquibase/Data_alias/basic/2021.2.0/Duplicate/update_duplicatepattern.xml +++ b/.liquibase/Data_alias/basic/2021.2.0/Duplicate/update_duplicatepattern.xml @@ -2,12 +2,13 @@ <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.6.xsd"> - <changeSet dbms="!derby" author="f.lang" id="f6a54dda-07cf-4555-abdf-d84bab032bff"> + <changeSet dbms="!derby" author="f.lang" id="f6a54dda-07cf-4555-abdf-d84bab032bff"> <update tableName="DUPLICATESCANNER"> <column name="SCAN_PATTERN" value="{"entity":"Person_entity","filter":{"type":"group","operator":"AND","childs":[{"type":"group","operator":"AND","childs":[{"type":"row","name":"FIRSTNAME","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"},{"type":"row","name":"LASTNAME","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},{"type":"group","operator":"OR","childs":[{"type":"row","name":"STANDARD_EMAIL_COMMUNICATION","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},{"type":"row","name":"PERSON_ID","operator":"CONTAINSNOT","value":"{}","key":"{}","contenttype":"TEXT"}]},"provider":"Duplicates"}"></column> <where>ID = ? and SCAN_PATTERN = ?</where> <whereParams> <param name="id" value="a8363f75-dc0a-412c-afe1-80ebacc26744"/> + <param name="pattern" value="{"entity":"Person_entity","filter":{"type":"group","operator":"AND","childs":[{"type":"group","operator":"AND","childs":[{"type":"row","name":"FIRSTNAME","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"},{"type":"row","name":"LASTNAME","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},{"type":"group","operator":"OR","childs":[{"type":"row","name":"STANDARD_EMAIL_COMMUNICATION","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},{"type":"row","name":"PERSON_ID","operator":"CONTAINSNOT","value":"{}","key":"{}","contenttype":"TEXT"}]},"provider":"Dublicates"}" /> </whereParams> </update> <update tableName="DUPLICATESCANNER"> @@ -15,6 +16,7 @@ <where>ID = ? and SCAN_PATTERN = ?</where> <whereParams> <param name="id" value="8fa3ab66-cc01-45b6-88f3-a9e76bad7db0"/> + <param name="pattern" value="{"entity":"Organisation_entity","filter":{"type":"group","operator":"AND","childs":[{"type":"row","name":"NAME","operator":"CONTAINS","value":"{\"exclude\": [\"gmbh\", \"co\", \"kg\", \"AG\", \"bank\"]}","key":"{\"exclude\": [\"gmbh\", \"co\", \"kg\", \"AG\", \"bank\"]}","contenttype":"TEXT"},{"type":"row","name":"STANDARD_CITY","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},"provider":"Dublicates"}"/> </whereParams> </update> </changeSet> @@ -27,13 +29,15 @@ <column name="SCAN_PATTERN" value="{"entity":"Person_entity","filter":{"type":"group","operator":"AND","childs":[{"type":"group","operator":"AND","childs":[{"type":"row","name":"FIRSTNAME","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"},{"type":"row","name":"LASTNAME","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},{"type":"group","operator":"OR","childs":[{"type":"row","name":"STANDARD_EMAIL_COMMUNICATION","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},{"type":"row","name":"PERSON_ID","operator":"CONTAINSNOT","value":"{}","key":"{}","contenttype":"TEXT"}]},"provider":"Duplicates"}"></column> <where>ID = ?</where> <whereParams> - <param name="id" value="a8363f75-dc0a-412c-afe1-80ebacc26744"/></whereParams> + <param name="id" value="a8363f75-dc0a-412c-afe1-80ebacc26744"/> + </whereParams> </update> <update tableName="DUPLICATESCANNER"> <column name="SCAN_PATTERN" value="{"entity":"Organisation_entity","filter":{"type":"group","operator":"AND","childs":[{"type":"row","name":"NAME","operator":"CONTAINS","value":"{\"exclude\": [\"gmbh\", \"co\", \"kg\", \"AG\", \"bank\"]}","key":"{\"exclude\": [\"gmbh\", \"co\", \"kg\", \"AG\", \"bank\"]}","contenttype":"TEXT"},{"type":"row","name":"STANDARD_CITY","operator":"ISNOTNULL","value":"","key":"","contenttype":"TEXT"}]},"provider":"Duplicates"}"></column> <where>ID = ?</where> <whereParams> - <param name="id" value="8fa3ab66-cc01-45b6-88f3-a9e76bad7db0"/></whereParams> + <param name="id" value="8fa3ab66-cc01-45b6-88f3-a9e76bad7db0"/> + </whereParams> </update> </changeSet> </databaseChangeLog> \ No newline at end of file