Skip to content
Snippets Groups Projects
Commit 13087f02 authored by Lukas Werner's avatar Lukas Werner
Browse files

resolved conflicts

parent 3d68f067
No related branches found
No related tags found
1 merge request!33Sales 2028229 init sales module
Showing
with 0 additions and 1231 deletions
<?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">
<include relativeToChangelogFile="true" file="create_ab_ctilog.xml"/>
<include relativeToChangelogFile="true" file="create_ab_appointmentlink.xml"/>
<include relativeToChangelogFile="true" file="create_ab_unlinkedmail.xml"/>
<include relativeToChangelogFile="true" file="create_attribute_filter.xml"/>
<include relativeToChangelogFile="true" file="create_bulkmail.xml"/>
<include relativeToChangelogFile="true" file="create_bulkmailrecipient.xml"/>
<include relativeToChangelogFile="true" file="create_bulkmailtestrecipient.xml"/>
<include relativeToChangelogFile="true" file="create_campaign.xml"/>
<include relativeToChangelogFile="true" file="create_campaigncost.xml"/>
<include relativeToChangelogFile="true" file="create_campaignparticipant.xml"/>
<include relativeToChangelogFile="true" file="create_campaignparticipantlog.xml"/>
<include relativeToChangelogFile="true" file="create_campaignstep.xml"/>
<include relativeToChangelogFile="true" file="create_communicationsettings.xml"/>
<include relativeToChangelogFile="true" file="create_documenttemplate_ticketcategory.xml"/>
<include relativeToChangelogFile="true" file="create_email_filter_handling.xml"/>
<include relativeToChangelogFile="true" file="create_emailfilterplaceofuse.xml"/>
<include relativeToChangelogFile="true" file="create_employeeescalation.xml"/>
<include relativeToChangelogFile="true" file="create_employeegroup.xml"/>
<include relativeToChangelogFile="true" file="create_employeegroup_contact_relation.xml"/>
<include relativeToChangelogFile="true" file="create_employeegroup_rule.xml"/>
<include relativeToChangelogFile="true" file="create_employeegroup_rulegroup.xml"/>
<include relativeToChangelogFile="true" file="create_employeegroup_rulegroup_relation.xml"/>
<include relativeToChangelogFile="true" file="create_event.xml"/>
<include relativeToChangelogFile="true" file="create_eventmessage.xml"/>
<include relativeToChangelogFile="true" file="create_eventmessagestatus.xml"/>
<include relativeToChangelogFile="true" file="create_eventparticipant.xml"/>
<include relativeToChangelogFile="true" file="create_eventslot.xml"/>
<include relativeToChangelogFile="true" file="create_inbox.xml"/>
<include relativeToChangelogFile="true" file="create_inbox_employeegroup_relation.xml"/>
<include relativeToChangelogFile="true" file="create_inboxfilter.xml"/>
<include relativeToChangelogFile="true" file="create_inboxfiltergroup.xml"/>
<include relativeToChangelogFile="true" file="create_inboxfiltergroup_relation.xml"/>
<include relativeToChangelogFile="true" file="create_inboxmediumhandler.xml"/>
<include relativeToChangelogFile="true" file="create_interest.xml"/>
<include relativeToChangelogFile="true" file="create_interestlink.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgediscussion.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgegitinterface.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgelink.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgemanagement.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgemanagementcategory.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgemanagementinbox.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgemanagementtagmoderation.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgemanagementticketcategory.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgeroles.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgetag.xml"/>
<include relativeToChangelogFile="true" file="create_knowledgetaglink.xml"/>
<include relativeToChangelogFile="true" file="create_leadbusinessfair.xml"/>
<include relativeToChangelogFile="true" file="create_leadbusinessfairentry.xml"/>
<include relativeToChangelogFile="true" file="create_importfield.xml"/>
<include relativeToChangelogFile="true" file="create_leadimport.xml"/>
<include relativeToChangelogFile="true" file="create_leadimportmappingassistant.xml"/>
<include relativeToChangelogFile="true" file="create_leadlog.xml"/>
<include relativeToChangelogFile="true" file="create_leads.xml"/>
<include relativeToChangelogFile="true" file="create_leadtemp.xml"/>
<include relativeToChangelogFile="true" file="create_likebutton.xml"/>
<include relativeToChangelogFile="true" file="create_mailduplicate.xml"/>
<include relativeToChangelogFile="true" file="create_mailsignature.xml"/>
<include relativeToChangelogFile="true" file="create_mail_bounce.xml"/>
<include relativeToChangelogFile="true" file="create_mail_log.xml"/>
<include relativeToChangelogFile="true" file="create_mail_run.xml"/>
<include relativeToChangelogFile="true" file="create_mailduplicate.xml"/>
<include relativeToChangelogFile="true" file="create_mailsignature.xml"/>
<include relativeToChangelogFile="true" file="create_marketingwebservicelog.xml"/>
<include relativeToChangelogFile="true" file="create_mosaicotemplate.xml"/>
<include relativeToChangelogFile="true" file="create_objectlink.xml"/>
<include relativeToChangelogFile="true" file="create_project.xml"/>
<include relativeToChangelogFile="true" file="create_projectattributevalues.xml"/>
<include relativeToChangelogFile="true" file="create_projectmember.xml"/>
<include relativeToChangelogFile="true" file="create_projectmemberrole.xml"/>
<include relativeToChangelogFile="true" file="create_projectpermission.xml"/>
<include relativeToChangelogFile="true" file="create_projectticket.xml"/>
<include relativeToChangelogFile="true" file="create_projectticketattribute.xml"/>
<include relativeToChangelogFile="true" file="create_projectticketattribute_preset.xml"/>
<include relativeToChangelogFile="true" file="create_projectticketattributeprojecttype.xml"/>
<include relativeToChangelogFile="true" file="create_projectticketattributerelation.xml"/>
<include relativeToChangelogFile="true" file="create_projectticketcomment.xml"/>
<include relativeToChangelogFile="true" file="create_projectticketrelation.xml"/>
<include relativeToChangelogFile="true" file="create_projecttickettype.xml"/>
<include relativeToChangelogFile="true" file="create_projecttickettypeattributerelation.xml"/>
<include relativeToChangelogFile="true" file="create_projecttickettyperel.xml"/>
<include relativeToChangelogFile="true" file="create_projecttime.xml"/>
<include relativeToChangelogFile="true" file="create_projecttype.xml"/>
<include relativeToChangelogFile="true" file="create_projecttypeattributevalue.xml"/>
<include relativeToChangelogFile="true" file="create_projecttypedocumentrel.xml"/>
<include relativeToChangelogFile="true" file="create_projecttyperel.xml"/>
<include relativeToChangelogFile="true" file="create_projecttypestatusreason.xml"/>
<include relativeToChangelogFile="true" file="create_questionnaire.xml"/>
<include relativeToChangelogFile="true" file="create_questionnaireanswer.xml"/>
<include relativeToChangelogFile="true" file="create_questionnairelookupvalue.xml"/>
<include relativeToChangelogFile="true" file="create_questionnaireparticipant.xml"/>
<include relativeToChangelogFile="true" file="create_questionnairequestion.xml"/>
<include relativeToChangelogFile="true" file="create_resourceoperation.xml"/>
<include relativeToChangelogFile="true" file="create_resourceoperationlink.xml"/>
<include relativeToChangelogFile="true" file="create_resourceoperationtask.xml"/>
<include relativeToChangelogFile="true" file="create_resourceoperationtasklink.xml"/>
<include relativeToChangelogFile="true" file="create_resourceoperationtasktemplate.xml"/>
<include relativeToChangelogFile="true" file="create_resourceplanningoperation.xml"/>
<include relativeToChangelogFile="true" file="create_resources.xml"/>
<include relativeToChangelogFile="true" file="create_ticket.xml"/>
<include relativeToChangelogFile="true" file="create_ticketescalation.xml"/>
<include relativeToChangelogFile="true" file="create_ticketrecipient.xml"/>
<include relativeToChangelogFile="true" file="create_tickettemplate.xml"/>
<include relativeToChangelogFile="true" file="create_uniqueview.xml"/>
<include relativeToChangelogFile="true" file="create_weblink.xml"/>
<include relativeToChangelogFile="true" file="create_weblink_click.xml"/>
<include relativeToChangelogFile="true" file="create_weblinktag.xml"/>
<include relativeToChangelogFile="true" file="create_webtrackingbusiness.xml"/>
<include relativeToChangelogFile="true" file="create_webtrackingpages.xml"/>
<include relativeToChangelogFile="true" file="create_webtrackingvisits.xml"/>
<include relativeToChangelogFile="true" file="create_ab_currency.xml"/>
<include relativeToChangelogFile="true" file="create_absence.xml"/>
<include relativeToChangelogFile="true" file="create_advertising.xml"/>
<include relativeToChangelogFile="true" file="create_advertisingitem.xml"/>
<include relativeToChangelogFile="true" file="create_checklist.xml"/>
<include relativeToChangelogFile="true" file="create_checklistentry.xml"/>
<include relativeToChangelogFile="true" file="create_checklistentryvalue.xml"/>
<include relativeToChangelogFile="true" file="create_classification.xml"/>
<include relativeToChangelogFile="true" file="create_classificationgrading.xml"/>
<include relativeToChangelogFile="true" file="create_classificationgroup.xml"/>
<include relativeToChangelogFile="true" file="create_classificationscore.xml"/>
<include relativeToChangelogFile="true" file="create_classificationstorage.xml"/>
<include relativeToChangelogFile="true" file="create_classificationtype.xml"/>
<include relativeToChangelogFile="true" file="create_competition.xml"/>
<include relativeToChangelogFile="true" file="create_contract.xml"/>
<include relativeToChangelogFile="true" file="create_currencyrate.xml"/>
<include relativeToChangelogFile="true" file="create_digitalsigningsigner.xml"/>
<include relativeToChangelogFile="true" file="create_digitalsigningtemplate.xml"/>
<include relativeToChangelogFile="true" file="create_digitalsigningtemplateposition.xml"/>
<include relativeToChangelogFile="true" file="create_digitalsigningworkflow.xml"/>
<include relativeToChangelogFile="true" file="create_district.xml"/>
<include relativeToChangelogFile="true" file="create_districtcontact.xml"/>
<include relativeToChangelogFile="true" file="create_districtcontactarchive.xml"/>
<include relativeToChangelogFile="true" file="create_districtorganisation.xml"/>
<include relativeToChangelogFile="true" file="create_districtresponsible.xml"/>
<include relativeToChangelogFile="true" file="create_expenses.xml"/>
<include relativeToChangelogFile="true" file="create_forecast.xml"/>
<include relativeToChangelogFile="true" file="create_mst_team.xml"/>
<include relativeToChangelogFile="true" file="create_objectmember.xml"/>
<include relativeToChangelogFile="true" file="create_offer.xml"/>
<include relativeToChangelogFile="true" file="create_offeritem.xml"/>
<include relativeToChangelogFile="true" file="create_planning_month.xml"/>
<include relativeToChangelogFile="true" file="create_descriptiontranslation.xml"/>
<include relativeToChangelogFile="true" file="create_prod2prod.xml"/>
<include relativeToChangelogFile="true" file="create_product.xml"/>
<include relativeToChangelogFile="true" file="create_productprice.xml"/>
<include relativeToChangelogFile="true" file="create_receipt.xml"/>
<include relativeToChangelogFile="true" file="create_salesorder.xml"/>
<include relativeToChangelogFile="true" file="create_salesorderitem.xml"/>
<include relativeToChangelogFile="true" file="create_salesorderlink.xml"/>
<include relativeToChangelogFile="true" file="create_salesproject.xml"/>
<include relativeToChangelogFile="true" file="create_salesprojectconversionratetarget.xml"/>
<include relativeToChangelogFile="true" file="create_salesprojectphasedefinition.xml"/>
<include relativeToChangelogFile="true" file="create_salesproject_milestone.xml"/>
<include relativeToChangelogFile="true" file="create_salesproject_touchpoint.xml"/>
<include relativeToChangelogFile="true" file="create_serialletter.xml"/>
<include relativeToChangelogFile="true" file="create_stock.xml"/>
<include relativeToChangelogFile="true" file="create_topictree.xml"/>
<include relativeToChangelogFile="true" file="create_topictreedisplaytree.xml"/>
<include relativeToChangelogFile="true" file="create_topictreerelation.xml"/>
<include relativeToChangelogFile="true" file="create_topictreetaskattendees.xml"/>
<include relativeToChangelogFile="true" file="create_topictreetopicconfiguration.xml"/>
<include relativeToChangelogFile="true" file="create_topictreeusage.xml"/>
<include relativeToChangelogFile="true" file="create_turnovertarget.xml"/>
<include relativeToChangelogFile="true" file="create_visitplanemployeeweek.xml"/>
<include relativeToChangelogFile="true" file="create_visitplanentry.xml"/>
<include relativeToChangelogFile="true" file="create_visitplanentrylink.xml"/>
<include relativeToChangelogFile="true" file="create_timetracking.xml"/>
<include relativeToChangelogFile="true" file="create_timetrackingrecording.xml"/>
<include relativeToChangelogFile="true" file="create_timetrackingrecordingcontact.xml"/>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="a9fac9ff-8d93-4035-a3c6-8c5d0d45c638">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="ab_appointmentlink"/>
</not>
</preConditions>
<createTable tableName="ab_appointmentlink">
<column name="AB_APPOINTMENTLINK_ID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="APPOINTMENT_ID" type="VARCHAR(512)">
<constraints nullable="false"/>
</column>
<column name="OBJECT_TYPE" type="VARCHAR(63)">
<constraints nullable="false"/>
</column>
<column name="OBJECT_ROWID" type="VARCHAR(512)">
<constraints nullable="false"/>
</column>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="7f5d0856-b864-41d4-afd7-a8639c67a0d7">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_APPOINTLINK_AP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_APPOINTLINK_AP_ID" tableName="ab_appointmentlink">
<column name="APPOINTMENT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="6dd3066a-8e78-4608-bee2-5686a6ad92a8">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_APPOINTLINK_OBJECT_ROWID"/>
</not>
</preConditions>
<createIndex indexName="IDX_APPOINTLINK_OBJECT_ROWID" tableName="ab_appointmentlink">
<column name="OBJECT_ROWID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="e91228fc-d775-404c-ace6-cbb5f50b3749">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="ab_currency"/>
</not>
</preConditions>
<createTable tableName="ab_currency">
<column defaultValueComputed="NULL" name="NUMBERCODE" type="INT"/>
<column name="ISO4" type="CHAR(3)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="NAME" type="VARCHAR(100) character set utf8mb4"/>
<column name="SIGN" type="VARCHAR(100) character set utf8mb4"/>
<column name="ISACTIVE" type="TINYINT">
<constraints nullable="false"/>
</column>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="4d19e6df-9c0d-46ad-89d0-a510f76160bf">
<preConditions onFail="MARK_RAN">
<and>
<tableExists tableName="ab_currency"/>
<sqlCheck expectedResult="0">
SELECT COUNT(1) FROM ab_currency
</sqlCheck>
<columnExists tableName="ab_currency" columnName="NUMBERCODE"/>
<columnExists tableName="ab_currency" columnName="ISO4"/>
<columnExists tableName="ab_currency" columnName="NAME"/>
<columnExists tableName="ab_currency" columnName="SIGN"/>
<columnExists tableName="ab_currency" columnName="ISACTIVE"/>
</and>
</preConditions>
<loadData commentLineStartsWith="#" encoding="UTF-8" file="csv/ab_currency.csv" relativeToChangelogFile="true" quotchar="&quot;" separator="," tableName="ab_currency">
<column header="NUMBERCODE" name="NUMBERCODE" type="NUMERIC"/>
<column header="ISO4" name="ISO4" type="STRING"/>
<column header="NAME" name="NAME" type="STRING"/>
<column header="SIGN" name="SIGN" type="STRING"/>
<column header="ISACTIVE" name="ISACTIVE" type="NUMERIC"/>
</loadData>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="eabf32c8-28a8-473f-8907-c83630322549">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="ab_unlinkedmail"/>
</not>
</preConditions>
<createTable tableName="ab_unlinkedmail">
<column name="AB_UNLINKEDMAILID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="SUBJECT" type="VARCHAR(200)"/>
<column defaultValueComputed="NULL" name="SENTDATE" type="datetime"/>
<column name="SENDER" type="VARCHAR(1000)"/>
<column name="RECIPIENTS" type="LONGTEXT"/>
<column name="MAIL" type="LONGTEXT"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="238d17a8-9c50-4085-952a-83da8ccac24a">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_AB_UNLINKEDMAILID_SENTDATE"/>
</not>
</preConditions>
<createIndex indexName="IDX_AB_UNLINKEDMAILID_SENTDATE" tableName="ab_unlinkedmail">
<column defaultValueComputed="NULL" name="SENTDATE"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="2e16c1d1-9586-4086-9fdf-8f0f698b14c9">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="absence"/>
</not>
</preConditions>
<createTable tableName="absence">
<column name="ABSENCEID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="EXPENSES_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="ENTRYDATE" type="datetime"/>
<column defaultValueComputed="NULL" name="KM" type="SMALLINT"/>
<column defaultValueComputed="NULL" name="BEDANDBREAKFAST" type="TINYINT"/>
<column defaultValueComputed="NULL" name="LUNCH" type="TINYINT"/>
<column defaultValueComputed="NULL" name="DINNER" type="TINYINT"/>
<column name="COUNTRY" type="VARCHAR(36) character set utf8mb4"/>
<column name="REMARK" type="LONGTEXT"/>
<column name="ALLOWANCETYPE" type="VARCHAR(36) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="ALLOWANCE" type="DECIMAL(14, 2)"/>
<column name="USER_NEW" type="VARCHAR(50) character set utf8mb4"/>
<column name="USER_EDIT" type="VARCHAR(50) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="PRIVATESTAY" type="TINYINT"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="43fe3521-920b-415a-a3e5-ded5def63655">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ABSENCE_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ABSENCE_CONTACT_ID" tableName="absence">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="682dded2-2858-4b17-a3bc-041945711aca">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ABSENCE_EXPENSES_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ABSENCE_EXPENSES_ID" tableName="absence">
<column name="EXPENSES_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="fa1c853e-ab38-438c-a50e-bbcbbf72e083">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="advertising"/>
</not>
</preConditions>
<createTable tableName="advertising">
<column name="ADVERTISINGID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column name="RESPONSIBLE_ID" type="CHAR(36)"/>
<column name="OBJECT_ROWID" type="CHAR(36)"/>
<column name="OBJECT_TYPE" type="VARCHAR(63) character set utf8mb4"/>
<column name="STATUS" type="VARCHAR(36) character set utf8mb4"/>
<column name="CURRENCY" type="VARCHAR(36) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50) character set utf8mb4"/>
<column name="USER_EDIT" type="VARCHAR(50) character set utf8mb4"/>
<column name="CURRENCYRATE_ID" type="VARCHAR(36) character set utf8mb4"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="17f9fe5d-ce80-4743-81b7-ae82d5893d9a">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ADVERTISING_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ADVERTISING_CONTACT_ID" tableName="advertising">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="779bae1e-93fe-4b30-b34c-751e7b2fa103">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ADVERTISING_CURRENCYRATE_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ADVERTISING_CURRENCYRATE_ID" tableName="advertising">
<column name="CURRENCYRATE_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="418702b4-d540-4068-af16-6d06b80d62df">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ADVERTISING_RESPONSIBLE_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ADVERTISING_RESPONSIBLE_ID" tableName="advertising">
<column name="RESPONSIBLE_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="5228338d-1c93-4176-bf71-74ea44b2dc9b">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ADVERTISING_ROW_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ADVERTISING_ROW_ID" tableName="advertising">
<column name="OBJECT_ROWID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="0448230f-560d-4486-b309-855327af4303">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="advertisingitem"/>
</not>
</preConditions>
<createTable tableName="advertisingitem">
<column name="ADVERTISINGITEMID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="ADVERTISING_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="PRODUCT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column defaultValueComputed="NULL" name="ITEMPOSITION" type="INT"/>
<column defaultValueComputed="NULL" name="QUANTITY" type="DECIMAL(14, 2)"/>
<column name="UNIT" type="VARCHAR(36) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="PRICE" type="DECIMAL(14, 2)"/>
<column defaultValueComputed="NULL" name="TARGETAMOUNT" type="DECIMAL(14, 2)"/>
<column name="DELIVERY" type="VARCHAR(36) character set utf8mb4"/>
<column defaultValueNumeric="0" name="SENT" type="TINYINT">
<constraints nullable="false"/>
</column>
<column name="STATUS" type="VARCHAR(36) character set utf8mb4"/>
<column name="INFO" type="LONGTEXT"/>
<column name="USER_NEW" type="VARCHAR(50) character set utf8mb4"/>
<column name="USER_EDIT" type="VARCHAR(50) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="5b863c6a-40c0-46a5-8afc-d8b6d65336f8">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ADVERTISINGITEM_ADVERTISING_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ADVERTISINGITEM_ADVERTISING_ID" tableName="advertisingitem">
<column name="ADVERTISING_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="d79f8ed7-cf16-4f3c-a318-7d222338025e">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ADVERTISINGITEM_INFO_PRODUCT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ADVERTISINGITEM_INFO_PRODUCT_ID" tableName="advertisingitem">
<column name="PRODUCT_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="8bac7d4d-0787-4003-8c7e-7c4a9143ff0d">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="attribute_filter"/>
</not>
</preConditions>
<createTable tableName="attribute_filter">
<column name="ATTRIBUTE_FILTERID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="INBOXFILTERGROUP_ID" type="CHAR(36)"/>
<column name="COMPONENT" type="VARCHAR(36)"/>
<column name="SEARCHTERM" type="VARCHAR(50)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="bfd855f6-c667-48b5-aed6-ceb8f01bdd39">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_ATTR_FILT_INBXFILTGR_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_ATTR_FILT_INBXFILTGR_ID" tableName="attribute_filter">
<column name="INBOXFILTERGROUP_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="81f428a6-8591-47b6-8a6d-dc63e1042c10">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="bulkmail"/>
</not>
</preConditions>
<createTable tableName="bulkmail">
<column name="BULKMAILID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="DOCUMENTTEMPLATE_ID" type="CHAR(36)"/>
<column name="STATUS" type="VARCHAR(36)"/>
<column name="DESCRIPTION" type="VARCHAR(500)"/>
<column name="SENDER_EMAIL_ADDRESS" type="VARCHAR(100)"/>
<column name="NAME" type="VARCHAR(100)"/>
<column name="SUBJECT" type="VARCHAR(100)"/>
<column defaultValueComputed="NULL" name="CREATEACTIVITIES" type="TINYINT"/>
<column name="TESTING_CONTACT_ID" type="CHAR(36)"/>
<column name="TESTING_EMAIL_ADDRESS" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="USE_TEMPLATE_ATTACHMENTS" type="TINYINT"/>
<column defaultValueComputed="NULL" name="DATE_TO_SEND" type="datetime"/>
<column name="INTEREST_ID" type="CHAR(36)"/>
<column name="EMPLOYEE_CONTACT_ID" type="CHAR(36)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="MOSAICOTEMPLATE_ID" type="CHAR(36)"/>
<column name="ISOLANGUAGE" type="CHAR(3)"/>
<column name="CAMPAIGN_ID" type="CHAR(36)"/>
<column name="SENDTYPE" type="VARCHAR(36)"/>
<column name="PLACEOFUSE" type="VARCHAR(36)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="aca96819-6b7f-43ea-bed7-ce48aea26c0f">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BLKMAIL_DOCTEMPLT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BLKMAIL_DOCTEMPLT_ID" tableName="bulkmail">
<column name="DOCUMENTTEMPLATE_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="4c75c2ae-8613-4c4a-9bf0-8e590392b7a4">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BULKMAIL_CAMPAIGN_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BULKMAIL_CAMPAIGN_ID" tableName="bulkmail">
<column name="CAMPAIGN_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="c433eeee-ec80-4b18-94f1-2b099dad6e93">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BULKMAIL_EMPCONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BULKMAIL_EMPCONTACT_ID" tableName="bulkmail">
<column name="EMPLOYEE_CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="763050c4-406a-4671-9c40-2f8ecd3392d3">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BULKMAIL_INTEREST_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BULKMAIL_INTEREST_ID" tableName="bulkmail">
<column name="INTEREST_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="8e92d347-2a47-46c2-801b-43ba929ba4eb">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BULKMAIL_MOSAICOTMPL_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BULKMAIL_MOSAICOTMPL_ID" tableName="bulkmail">
<column name="MOSAICOTEMPLATE_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="ecfb54c7-49d0-4c15-8948-c3f29734ca8f">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="bulkmailrecipient"/>
</not>
</preConditions>
<createTable tableName="bulkmailrecipient">
<column name="BULKMAILRECIPIENTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="BULKMAIL_ID" type="CHAR(36)"/>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column name="STATUS" type="VARCHAR(36)"/>
<column defaultValueComputed="NULL" name="SENTDATE" type="datetime"/>
<column name="EMAIL_ADDRESS" type="VARCHAR(255)"/>
<column defaultValueComputed="NULL" name="IS_TEST_RECIPIENT" type="TINYINT"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="6822c3de-b2f0-4327-8e83-ed6ac8886262">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BLKMAILRCPT_BULKMAIL_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BLKMAILRCPT_BULKMAIL_ID" tableName="bulkmailrecipient">
<column name="BULKMAIL_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="54058bbd-82cd-4241-a161-acec14d406ab">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BLKMAILRCPT_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BLKMAILRCPT_CONTACT_ID" tableName="bulkmailrecipient">
<column name="CONTACT_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="f8e622c8-92f7-402d-b6cc-36a36247cdd3">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="bulkmailtestrecipient"/>
</not>
</preConditions>
<createTable tableName="bulkmailtestrecipient">
<column name="BULKMAILTESTRECIPIENTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="BULKMAIL_ID" type="CHAR(36)"/>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column name="EMAIL_ADDRESS" type="VARCHAR(255)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="bab1219e-1243-4a23-9ed6-be1003915918">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BULKMAILTESTREC_BULKMAI_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BULKMAILTESTREC_BULKMAI_ID" tableName="bulkmailtestrecipient">
<column name="BULKMAIL_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="7d39b75c-1ea0-4fff-a5b8-879a2b8f1e4d">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_BULKMAILTESTREC_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_BULKMAILTESTREC_CONTACT_ID" tableName="bulkmailtestrecipient">
<column name="CONTACT_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="395f5216-dbc3-4510-bcf3-a8767d94a051">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="campaign"/>
</not>
</preConditions>
<createTable tableName="campaign">
<column name="CAMPAIGNID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="NAME" type="VARCHAR(100)"/>
<column name="EMPLOYEE_CONTACT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="DESCRIPTION" type="VARCHAR(500)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="STATUS" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CURRENCY" type="VARCHAR(36)"/>
<column name="TYPE" type="VARCHAR(36)"/>
<column defaultValueComputed="NULL" name="CAMPAIGNCODE" type="INT"/>
<column defaultValueComputed="NULL" name="EVENT_BEGIN" type="datetime"/>
<column defaultValueComputed="NULL" name="EVENT_END" type="datetime"/>
<column name="LOCATION" type="VARCHAR(250)"/>
<column name="EVENTTYPE" type="VARCHAR(36)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="77082eaa-e29c-4158-92b7-3dda74a2ab35">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CAMPAIGNCODE"/>
</not>
</preConditions>
<createIndex indexName="IDX_CAMPAIGNCODE" tableName="campaign">
<column defaultValueComputed="NULL" name="CAMPAIGNCODE"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="7d52a882-1260-4fca-99f5-02623ec55e49">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGN_EMPL_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGN_EMPL_CONTACT_ID" tableName="campaign">
<column name="EMPLOYEE_CONTACT_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="e8dd8d40-622f-4ff0-bab0-62373350b12b">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="campaigncost"/>
</not>
</preConditions>
<createTable tableName="campaigncost">
<column name="CAMPAIGNCOSTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CAMPAIGN_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CAMPAIGNSTEP_ID" type="CHAR(36)"/>
<column name="CATEGORY" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
<column defaultValueComputed="NULL" name="NET" type="DECIMAL(14, 2)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="93cf6f3b-7535-483e-8684-832ac093d23c">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CAMPAIGNCOST_CAMPAIGN_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CAMPAIGNCOST_CAMPAIGN_ID" tableName="campaigncost">
<column name="CAMPAIGN_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="9e11285b-6344-4425-8201-07a23691fded">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNCST_CAMPAIGNSTEP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNCST_CAMPAIGNSTEP_ID" tableName="campaigncost">
<column name="CAMPAIGNSTEP_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="410600f7-4fa5-47a0-a2cd-c18e789ec307">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="campaignparticipant"/>
</not>
</preConditions>
<createTable tableName="campaignparticipant">
<column name="CAMPAIGNPARTICIPANTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CAMPAIGN_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CAMPAIGNSTEP_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="RESPONSIBLE_CONTACT_ID" type="CHAR(36)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="b83e63f5-6c99-498b-a0f1-9f035e761165">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CAMPAIGNPART_RES_CONTACT"/>
</not>
</preConditions>
<createIndex indexName="IDX_CAMPAIGNPART_RES_CONTACT" tableName="campaignparticipant">
<column name="RESPONSIBLE_CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="b7bc61eb-49f1-4e75-a68c-4bdb659ca7a2">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPARTCPNT_CMPSTEP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPARTCPNT_CMPSTEP_ID" tableName="campaignparticipant">
<column name="CAMPAIGNSTEP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="c1cf7571-8a3f-40f4-ad88-6a021948556c">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPARTCPNT_CMP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPARTCPNT_CMP_ID" tableName="campaignparticipant">
<column name="CAMPAIGN_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="a0e9e6c7-ffa6-4028-9a5b-ef933150306a">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPARTCPNT_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPARTCPNT_CONTACT_ID" tableName="campaignparticipant">
<column name="CONTACT_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="0b50b845-1b0d-4b51-8765-000751899d3a">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="campaignparticipantlog"/>
</not>
</preConditions>
<createTable tableName="campaignparticipantlog">
<column name="CAMPAIGNPARTICIPANTLOGID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CAMPAIGNPARTICIPANT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CAMPAIGN_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="CAMPAIGNSTEP_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="PREVIOUS_CAMPAIGNSTEP_ID" type="CHAR(36)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="79587fb2-cbef-4bc1-b8e9-b3545a3e7c55">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPTCPTLG_CAMPAIGN_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPTCPTLG_CAMPAIGN_ID" tableName="campaignparticipantlog">
<column name="CAMPAIGN_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="3b70d9fb-6d91-4b00-8de2-949e26488059">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPTCPTLG_CMPSTEP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPTCPTLG_CMPSTEP_ID" tableName="campaignparticipantlog">
<column name="CAMPAIGNSTEP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="fe7babb2-b21e-4f11-917e-ab3f732bbdd1">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPTCPTLG_PRE_STEP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPTCPTLG_PRE_STEP_ID" tableName="campaignparticipantlog">
<column name="PREVIOUS_CAMPAIGNSTEP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="da83e6ae-1ab6-4b87-8726-7df350388913">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNPTCPTLG_PTCPT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNPTCPTLG_PTCPT_ID" tableName="campaignparticipantlog">
<column name="CAMPAIGNPARTICIPANT_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="61e56ff9-3329-4a41-864c-1dc570d3e2d6">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="campaignstep"/>
</not>
</preConditions>
<createTable tableName="campaignstep">
<column name="CAMPAIGNSTEPID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CAMPAIGN_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="EMPLOYEE_CONTACT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="NAME" type="VARCHAR(50)"/>
<column name="DESCRIPTION" type="VARCHAR(500)"/>
<column name="DATE_START" type="date">
<constraints nullable="false"/>
</column>
<column name="DATE_END" type="date">
<constraints nullable="false"/>
</column>
<column name="STATUS" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
<column name="SORTING" type="INT">
<constraints nullable="false"/>
</column>
<column defaultValueComputed="NULL" name="MAXPARTICIPANTS" type="INT"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="PREDECESSORSTEP_ID" type="CHAR(36)"/>
<column name="STEPMEDIUM" type="VARCHAR(36)"/>
<column name="WORKFLOWDEFINITION_KEY" type="VARCHAR(255)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="731b3ea8-1a41-4bd4-a957-62676bdec61d">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CAMPAIGNSTEP_CAMPAIGN_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CAMPAIGNSTEP_CAMPAIGN_ID" tableName="campaignstep">
<column name="CAMPAIGN_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="c39b0a4d-fe2e-4b56-b5cb-a322f88d08b1">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNSTP_EMPL_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNSTP_EMPL_CONTACT_ID" tableName="campaignstep">
<column name="EMPLOYEE_CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="0199c668-28e2-45f3-8d42-c76d734bb452">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CMPAIGNSTP_PREDCSSRSTEP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CMPAIGNSTP_PREDCSSRSTEP_ID" tableName="campaignstep">
<column name="PREDECESSORSTEP_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="34b4e59f-2b03-4b1a-8c10-4dd271f08260">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="checklist"/>
</not>
</preConditions>
<createTable tableName="checklist">
<column name="CHECKLISTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="USER_NEW" type="VARCHAR(50) character set utf8mb4"/>
<column name="USER_EDIT" type="VARCHAR(50) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="DESCRIPTION" type="VARCHAR(500) character set utf8mb4"/>
<column name="TITLE" type="VARCHAR(100) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="AUTOPROBABILITY" type="DECIMAL(6, 2)"/>
<column name="CONTEXT" type="VARCHAR(50) character set utf8mb4"/>
<column name="COND" type="LONGTEXT"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="dcfac9e0-33ac-42a6-8ea7-e9db38c51d79">
<preConditions onFail="MARK_RAN">
<and>
<tableExists tableName="checklist"/>
<sqlCheck expectedResult="0">
SELECT COUNT(1) FROM checklist
</sqlCheck>
<columnExists tableName="checklist" columnName="CHECKLISTID"/>
<columnExists tableName="checklist" columnName="USER_NEW"/>
<columnExists tableName="checklist" columnName="USER_EDIT"/>
<columnExists tableName="checklist" columnName="DATE_NEW"/>
<columnExists tableName="checklist" columnName="DATE_EDIT"/>
<columnExists tableName="checklist" columnName="DESCRIPTION"/>
<columnExists tableName="checklist" columnName="TITLE"/>
<columnExists tableName="checklist" columnName="AUTOPROBABILITY"/>
<columnExists tableName="checklist" columnName="CONTEXT"/>
<columnExists tableName="checklist" columnName="COND"/>
</and>
</preConditions>
<loadData commentLineStartsWith="#" encoding="UTF-8" file="csv/checklist.csv" relativeToChangelogFile="true" quotchar="&quot;" separator="," tableName="checklist">
<column header="CHECKLISTID" name="CHECKLISTID" type="STRING"/>
<column header="USER_NEW" name="USER_NEW" type="STRING"/>
<column header="USER_EDIT" name="USER_EDIT" type="skip"/>
<column header="DATE_NEW" name="DATE_NEW" type="skip"/>
<column header="DATE_EDIT" name="DATE_EDIT" type="skip"/>
<column header="DESCRIPTION" name="DESCRIPTION" type="skip"/>
<column header="TITLE" name="TITLE" type="skip"/>
<column header="AUTOPROBABILITY" name="AUTOPROBABILITY" type="skip"/>
<column header="CONTEXT" name="CONTEXT" type="skip"/>
<column header="COND" name="COND" type="skip"/>
</loadData>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="627a4829-b53b-41db-bf4a-f4b8a7a77590">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="checklistentry"/>
</not>
</preConditions>
<createTable tableName="checklistentry">
<column name="CHECKLISTENTRYID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CHECKLIST_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="TITLE" type="VARCHAR(100) character set utf8mb4"/>
<column name="USER_NEW" type="VARCHAR(50) character set utf8mb4"/>
<column name="USER_EDIT" type="VARCHAR(50) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="AUTO" type="TINYINT">
<constraints nullable="false"/>
</column>
<column name="COND" type="LONGTEXT"/>
<column defaultValueNumeric="0" name="FILTER_USED" type="TINYINT"/>
<column defaultValueComputed="NULL" name="POS" type="INT"/>
<column defaultValueNumeric="0" name="PHASE_MANDATORY_CHECK" type="TINYINT">
<constraints nullable="false"/>
</column>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="676ee0bc-0142-44aa-81ce-8cfee2fd319e">
<preConditions onFail="MARK_RAN">
<and>
<tableExists tableName="checklistentry"/>
<sqlCheck expectedResult="0">
SELECT COUNT(1) FROM checklistentry
</sqlCheck>
<columnExists tableName="checklistentry" columnName="CHECKLISTENTRYID"/>
<columnExists tableName="checklistentry" columnName="CHECKLIST_ID"/>
<columnExists tableName="checklistentry" columnName="TITLE"/>
<columnExists tableName="checklistentry" columnName="USER_NEW"/>
<columnExists tableName="checklistentry" columnName="USER_EDIT"/>
<columnExists tableName="checklistentry" columnName="DATE_NEW"/>
<columnExists tableName="checklistentry" columnName="DATE_EDIT"/>
<columnExists tableName="checklistentry" columnName="AUTO"/>
<columnExists tableName="checklistentry" columnName="COND"/>
<columnExists tableName="checklistentry" columnName="FILTER_USED"/>
<columnExists tableName="checklistentry" columnName="POS"/>
<columnExists tableName="checklistentry" columnName="PHASE_MANDATORY_CHECK"/>
</and>
</preConditions>
<loadData commentLineStartsWith="#" encoding="UTF-8" file="csv/checklistentry.csv" relativeToChangelogFile="true" quotchar="&quot;" separator="," tableName="checklistentry">
<column header="CHECKLISTENTRYID" name="CHECKLISTENTRYID" type="STRING"/>
<column header="CHECKLIST_ID" name="CHECKLIST_ID" type="STRING"/>
<column header="TITLE" name="TITLE" type="STRING"/>
<column header="USER_NEW" name="USER_NEW" type="STRING"/>
<column header="USER_EDIT" name="USER_EDIT" type="skip"/>
<column header="DATE_NEW" name="DATE_NEW" type="DATE"/>
<column header="DATE_EDIT" name="DATE_EDIT" type="skip"/>
<column header="AUTO" name="AUTO" type="NUMERIC"/>
<column header="COND" name="COND" type="skip"/>
<column header="FILTER_USED" name="FILTER_USED" type="NUMERIC"/>
<column header="POS" name="POS" type="skip"/>
<column header="PHASE_MANDATORY_CHECK" name="PHASE_MANDATORY_CHECK" type="NUMERIC"/>
</loadData>
</changeSet>
<changeSet author="L.Werner (generated)" id="1d320a68-d88b-4db2-b6fa-110cf249bd17">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CHKLSTENTRY_CHECKLIST_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CHKLSTENTRY_CHECKLIST_ID" tableName="checklistentry">
<column name="CHECKLIST_ID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="93da64e2-ff91-400a-8277-69571e164231">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="checklistentryvalue"/>
</not>
</preConditions>
<createTable tableName="checklistentryvalue">
<column name="CHECKLISTENTRYVALUEID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CHECKLISTENTRY_ID" type="CHAR(36)"/>
<column name="OBJECT_ROWID" type="CHAR(36)"/>
<column name="OBJECT_TYPE" type="VARCHAR(50) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="IS_FULFILLED" type="TINYINT"/>
<column name="USER_NEW" type="VARCHAR(50) character set utf8mb4"/>
<column name="USER_EDIT" type="VARCHAR(50) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="DONEUSER" type="VARCHAR(63) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="DONEDATE" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="e69528a6-0398-4a9a-aa7b-7a645a7743f7">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CHKLSTENTRYVAL_CHKENTRY_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CHKLSTENTRYVAL_CHKENTRY_ID" tableName="checklistentryvalue">
<column name="CHECKLISTENTRY_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="5cc009c4-c22c-4668-afda-e29d0b660bc7">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CHKLSTENTRYVAL_ROWID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CHKLSTENTRYVAL_ROWID" tableName="checklistentryvalue">
<column name="OBJECT_ROWID"/>
</createIndex>
</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:pro="http://www.liquibase.org/xml/ns/pro" 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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="L.Werner (generated)" id="97e7daf0-1457-4657-87a8-e2c48d1939f6">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="classification"/>
</not>
</preConditions>
<createTable tableName="classification">
<column name="CLASSIFICATIONID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="VALUE" type="CHAR(36)"/>
<column name="CLASSIFICATIONTYPE_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="OBJECT_TYPE" type="VARCHAR(50) character set utf8mb4">
<constraints nullable="false"/>
</column>
<column name="OBJECT_ROWID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column defaultValueComputed="NULL" name="SCOREPOINTS" type="DECIMAL(14, 2)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="bbdda950-0926-4573-8a82-efa498cdc6e9">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CLSSIFICTION_OBJECT_ROWID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CLSSIFICTION_OBJECT_ROWID" tableName="classification">
<column name="OBJECT_ROWID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="a62a3dcd-40b7-4e37-bb2f-839ac50001d8">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CLSSIFICTION_SCORE_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CLSSIFICTION_SCORE_ID" tableName="classification">
<column name="VALUE"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="2a489a15-33ce-45fa-8b77-391db51676ee">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_CLSSIFICTION_TYPE_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_CLSSIFICTION_TYPE_ID" tableName="classification">
<column name="CLASSIFICATIONTYPE_ID"/>
</createIndex>
</changeSet>
</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