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

Reorganized changes in the duplicates related liquibase files. The files in...

Reorganized changes in the duplicates related liquibase files. The files in folder 2019.2.1 have been reset to the version before the change from commit 50be8ae4 which is the same as in 2019.3.1.
Those changes have been moved to drop and alter liquibase scripts inside the folder 2019.3.2/Duplicates. Now an update from 2019.3.1 -> 2019.3.2 creates the correct liquibase structure.
parent ab461253
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,6 @@
<column name="EXTERNAL_SERVICE_USAGE_ALLOWED" type="INTEGER" >
<constraints nullable="false"/>
</column>
<column name="ID_FIELD_NAME" type="NVARCHAR(100)" />
<column name="SCAN_PATTERN" type="NVARCHAR(4000)" />
<column name="USER_NEW" type="NVARCHAR(50)">
<constraints nullable="false"/>
</column>
......
<?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="d.buechler" id="1c532327-8b0f-4f0d-b160-dd75db93cecb">
<createTable tableName="DUPLICATESCANNERINDEXCONFIG">
<column name="ID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_DUPLICATESCANNERINDEXCONFIG_ID"/>
</column>
<column name="DUPLICATESCANNER_ID" type="CHAR(36)">
<constraints nullable="false" />
</column>
<column name="ENTITY_FIELD_NAME" type="NVARCHAR(100)" />
<column name="IS_ID_FIELD" type="INTEGER" >
<constraints nullable="false"/>
</column>
<column name="USE_FOR_INDEX_DUPLICATE_SEARCH" type="INTEGER" >
<constraints nullable="false"/>
</column>
<column name="USER_NEW" type="NVARCHAR(50)">
<constraints nullable="false"/>
</column>
<column name="DATE_NEW" type="DATE">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="NVARCHAR(50)" />
<column name="DATE_EDIT" type="DATE"/>
</createTable>
</changeSet>
</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="d.buechler" id="cf165521-f2bb-4941-82ee-c4a5812ea8b8">
<createTable tableName="DUPLICATESCANNERPREFILTERCONFIG">
<column name="ID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_DUPLICATESCANNERPREFILTERCONFIG_ID"/>
</column>
<column name="DUPLICATESCANNER_ID" type="CHAR(36)">
<constraints nullable="false" />
</column>
<column name="FILTER_CONDITION" type="CLOB" />
<column name="COUNT_CHARACTERS_TO_USE" type="INTEGER" />
<column name="MAX_RESULTS_THRESHOLD" type="INTEGER" />
<column name="CONDITION_CONFIG_NAME" type="NVARCHAR(200)"/>
<column name="USER_NEW" type="NVARCHAR(50)">
<constraints nullable="false"/>
</column>
<column name="DATE_NEW" type="DATE">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="NVARCHAR(50)" />
<column name="DATE_EDIT" type="DATE"/>
</createTable>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -14,6 +14,8 @@
<include relativeToChangelogFile="true" file="Duplicates/create_duplicateClusters.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/create_duplicateScanner.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/create_duplicateScannerPrefilterConfig.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/create_duplicateScannerIndexConfig.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/create_duplicateScannerResultFieldsConfig.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/create_unrelatedDuplicates.xml"/>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<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 author="d.buechler" id="279d7d76-1b21-4c03-ae0e-5b8e19af5614">
<addColumn tableName="DUPLICATESCANNER">
<column name="ID_FIELD_NAME" type="NVARCHAR(100)"/>
</addColumn>
<addColumn tableName="DUPLICATESCANNER">
<column name="SCAN_PATTERN" type="NVARCHAR(4000)"/>
</addColumn>
</changeSet>
</databaseChangeLog>
<?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="d.buechler" id="f82b4092-a1d1-469d-a345-b820750aaa56">
<dropTable tableName="DUPLICATESCANNERINDEXCONFIG" />
</changeSet>
</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="d.buechler" id="f8b9b569-772d-4bed-94aa-8596f8bb6504">
<dropTable tableName="DUPLICATESCANNERPREFILTERCONFIG" />
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -7,4 +7,9 @@
<include relativeToChangelogFile="true" file="leadimport/changelog.xml"/>
<include relativeToChangelogFile="true" file="AttributeLoyalty_newValue_unknown.xml"/>
<include relativeToChangelogFile="true" file="reworkDbIndexes.xml"/>
<include relativeToChangelogFile="true" file="update_attriubteTheme.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/drop_duplicateScannerPrefilterConfig.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/drop_duplicateScannerIndexConfig.xml"/>
<include relativeToChangelogFile="true" file="Duplicates/alter_duplicateScanner.xml"/>
</databaseChangeLog>
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