Skip to content
Snippets Groups Projects
Commit c1c02636 authored by David Büchler's avatar David Büchler
Browse files

Added default configuration for duplicates in Liquibase.

parent cf7d0a0c
No related branches found
No related tags found
No related merge requests found
......@@ -45,4 +45,5 @@
<include file="generatedData/task.xml" relativeToChangelogFile="true"/>
<include file="generatedData/tasklink.xml" relativeToChangelogFile="true"/>
<include file="generatedData/ticket.xml" relativeToChangelogFile="true"/>
<include file="generatedData/duplicates/duplicatescanner.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="autogenerated" id="111f79f2-11be-40a2-8e27-755049c04da5">
<delete tableName="duplicatescanner"/>
<insert tableName="duplicatescanner">
<column name="ID" value="a8363f75-dc0a-412c-afe1-80ebacc26744" />
<column name="ENTITY_TO_SCAN_NAME" value="Person_entity" />
<column name="FILTER_NAME" value="PersonDuplicates" />
<column name="EXTERNAL_SERVICE_USAGE_ALLOWED" valueNumeric="0" />
<column name="ID_FIELD_NAME" value="CONTACTID" />
<column name="SCAN_PATTERN" value="firstname:({&quot;entityfield&quot;: &quot;FIRSTNAME&quot;}) AND lastname:({&quot;entityfield&quot;: &quot;LASTNAME&quot;})" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2019-07-19" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2019-07-19" />
</insert>
<insert tableName="duplicatescanner">
<column name="ID" value="8fa3ab66-cc01-45b6-88f3-a9e76bad7db0" />
<column name="ENTITY_TO_SCAN_NAME" value="Organisation_entity" />
<column name="FILTER_NAME" value="OrganisationDuplicates" />
<column name="EXTERNAL_SERVICE_USAGE_ALLOWED" valueNumeric="0" />
<column name="ID_FIELD_NAME" value="CONTACTID" />
<column name="SCAN_PATTERN" value="name:({&quot;entityfield&quot;: &quot;NAME&quot;, &quot;exclude&quot;: [&quot;gmbh&quot;, &quot;co&quot;, &quot;kg&quot;, &quot;ag&quot;, &quot;bank&quot;, &quot;deutsche&quot;, &quot;van&quot;, &quot;software&quot;, &quot;medien&quot;, &quot;print&quot;] }) AND city:({&quot;entityfield&quot;: &quot;STANDARD_CITY&quot;})" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2019-07-19" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2019-07-19" />
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment