Skip to content
Snippets Groups Projects
Commit 8e364ea3 authored by Lukas Werner's avatar Lukas Werner Committed by Tim Kerscher
Browse files

Sales 2028229 init sales module

parent c2582460
No related branches found
No related tags found
2 merge requests!39Beta,!33Sales 2028229 init sales module
Showing
with 0 additions and 830 deletions
<?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="790947e8-91a1-494d-b3b7-27215957ccc6">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="email_filter_handling"/>
</not>
</preConditions>
<createTable tableName="email_filter_handling">
<column name="EMAIL_FILTER_HANDLINGID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="TITLE" type="VARCHAR(250)"/>
<column name="FILTER_TYPE" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
<column name="FILTER" type="LONGTEXT"/>
<column name="WORKFLOWDEFINITION_KEY" type="VARCHAR(255)"/>
<column name="PRIORITY" type="INT">
<constraints nullable="false"/>
</column>
<column name="ISACTIVE" type="TINYINT">
<constraints nullable="false"/>
</column>
<column name="DESCRIPTION" type="VARCHAR(500)"/>
<column name="WORKFLOWSIGNAL_NAME" type="VARCHAR(250)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="timestamp"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="2a49e374-300f-41f7-b462-5f1651a4ddee">
<preConditions onFail="MARK_RAN">
<and>
<tableExists tableName="email_filter_handling"/>
<sqlCheck expectedResult="0">
SELECT COUNT(1) FROM email_filter_handling
</sqlCheck>
<columnExists tableName="email_filter_handling" columnName="EMAIL_FILTER_HANDLINGID"/>
<columnExists tableName="email_filter_handling" columnName="TITLE"/>
<columnExists tableName="email_filter_handling" columnName="FILTER_TYPE"/>
<columnExists tableName="email_filter_handling" columnName="FILTER"/>
<columnExists tableName="email_filter_handling" columnName="WORKFLOWDEFINITION_KEY"/>
<columnExists tableName="email_filter_handling" columnName="PRIORITY"/>
<columnExists tableName="email_filter_handling" columnName="ISACTIVE"/>
<columnExists tableName="email_filter_handling" columnName="DESCRIPTION"/>
<columnExists tableName="email_filter_handling" columnName="WORKFLOWSIGNAL_NAME"/>
<columnExists tableName="email_filter_handling" columnName="USER_NEW"/>
<columnExists tableName="email_filter_handling" columnName="DATE_NEW"/>
<columnExists tableName="email_filter_handling" columnName="USER_EDIT"/>
<columnExists tableName="email_filter_handling" columnName="DATE_EDIT"/>
</and>
</preConditions>
<loadData commentLineStartsWith="#" encoding="UTF-8" file="csv/email_filter_handling.csv" relativeToChangelogFile="true" quotchar="&quot;" separator="," tableName="email_filter_handling">
<column header="EMAIL_FILTER_HANDLINGID" name="EMAIL_FILTER_HANDLINGID" type="STRING"/>
<column header="TITLE" name="TITLE" type="STRING"/>
<column header="FILTER_TYPE" name="FILTER_TYPE" type="STRING"/>
<column header="FILTER" name="FILTER" type="STRING"/>
<column header="WORKFLOWDEFINITION_KEY" name="WORKFLOWDEFINITION_KEY" type="skip"/>
<column header="PRIORITY" name="PRIORITY" type="NUMERIC"/>
<column header="ISACTIVE" name="ISACTIVE" type="NUMERIC"/>
<column header="DESCRIPTION" name="DESCRIPTION" type="STRING"/>
<column header="WORKFLOWSIGNAL_NAME" name="WORKFLOWSIGNAL_NAME" type="skip"/>
<column header="USER_NEW" name="USER_NEW" type="STRING"/>
<column header="DATE_NEW" name="DATE_NEW" type="DATE"/>
<column header="USER_EDIT" name="USER_EDIT" type="skip"/>
<column header="DATE_EDIT" name="DATE_EDIT" 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="729940b8-cb73-477e-a83c-8f9484424948">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="emailfilterplaceofuse"/>
</not>
</preConditions>
<createTable tableName="emailfilterplaceofuse">
<column name="EMAILFILTERPLACEOFUSEID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="EMAIL_FILTER_HANDLING_ID" type="VARCHAR(36)"/>
<column name="PLACEOFUSE" type="VARCHAR(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"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="cd767ab0-ba2b-474e-8ae1-248f22170233">
<preConditions onFail="MARK_RAN">
<and>
<tableExists tableName="emailfilterplaceofuse"/>
<sqlCheck expectedResult="0">
SELECT COUNT(1) FROM emailfilterplaceofuse
</sqlCheck>
<columnExists tableName="emailfilterplaceofuse" columnName="EMAILFILTERPLACEOFUSEID"/>
<columnExists tableName="emailfilterplaceofuse" columnName="EMAIL_FILTER_HANDLING_ID"/>
<columnExists tableName="emailfilterplaceofuse" columnName="PLACEOFUSE"/>
<columnExists tableName="emailfilterplaceofuse" columnName="USER_NEW"/>
<columnExists tableName="emailfilterplaceofuse" columnName="DATE_NEW"/>
<columnExists tableName="emailfilterplaceofuse" columnName="USER_EDIT"/>
<columnExists tableName="emailfilterplaceofuse" columnName="DATE_EDIT"/>
</and>
</preConditions>
<loadData commentLineStartsWith="#" encoding="UTF-8" file="csv/emailfilterplaceofuse.csv" relativeToChangelogFile="true" quotchar="&quot;" separator="," tableName="emailfilterplaceofuse">
<column header="EMAILFILTERPLACEOFUSEID" name="EMAILFILTERPLACEOFUSEID" type="STRING"/>
<column header="EMAIL_FILTER_HANDLING_ID" name="EMAIL_FILTER_HANDLING_ID" type="STRING"/>
<column header="PLACEOFUSE" name="PLACEOFUSE" type="STRING"/>
<column header="USER_NEW" name="USER_NEW" type="STRING"/>
<column header="DATE_NEW" name="DATE_NEW" type="DATE"/>
<column header="USER_EDIT" name="USER_EDIT" type="skip"/>
<column header="DATE_EDIT" name="DATE_EDIT" type="skip"/>
</loadData>
</changeSet>
<changeSet author="L.Werner (generated)" id="fa270ba8-e845-4e64-8246-931296c1bfcf">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMAILFILTERPLACEOFUSE"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMAILFILTERPLACEOFUSE" tableName="emailfilterplaceofuse">
<column name="EMAILFILTERPLACEOFUSEID"/>
<column name="EMAIL_FILTER_HANDLING_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="94412b0c-716b-4e27-b16a-ef883ab296e0">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="employeeescalation"/>
</not>
</preConditions>
<createTable tableName="employeeescalation">
<column name="EMPLOYEEESCALATIONID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column name="EMPLOYEEGROUP_ID" type="CHAR(36)"/>
<column name="TICKETESCALATION_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="TYPE" type="VARCHAR(63)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="219e206b-da8f-4403-8eb8-4a91f29a7793">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPESC_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPESC_CONTACT_ID" tableName="employeeescalation">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="44268222-beee-47d0-9b14-1c93cb73259b">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPESC_EMPLGROUP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPESC_EMPLGROUP_ID" tableName="employeeescalation">
<column name="EMPLOYEEGROUP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="575f52a4-47b0-4757-b48b-9bf1294f0530">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPESC_ESCAL_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPESC_ESCAL_ID" tableName="employeeescalation">
<column name="TICKETESCALATION_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="adc00105-5a48-4f40-b1ff-b5483be2a887">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="employeegroup"/>
</not>
</preConditions>
<createTable tableName="employeegroup">
<column name="EMPLOYEEGROUPID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="GROUPNAME" type="VARCHAR(50)"/>
<column name="STATUS" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</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="d5030c1b-2954-4659-8264-8cdd6025be02">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="employeegroup_contact_relation"/>
</not>
</preConditions>
<createTable tableName="employeegroup_contact_relation">
<column name="EMPLOYEEGROUP_CONTACT_RELATIONID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column name="EMPLOYEEGROUP_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="f8a58963-a831-44f2-9fc4-33d029df5b68">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPGR_CON_REL_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPGR_CON_REL_CONTACT_ID" tableName="employeegroup_contact_relation">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="1a38d4fd-9615-4c49-93dc-e9e9524cfb05">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPGR_CON_REL_EMPGROUP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPGR_CON_REL_EMPGROUP_ID" tableName="employeegroup_contact_relation">
<column name="EMPLOYEEGROUP_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="99bf37f8-3b6f-40d9-919b-10318e2cd982">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="employeegroup_rule"/>
</not>
</preConditions>
<createTable tableName="employeegroup_rule">
<column name="EMPLOYEEGROUP_RULEID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="EMPLOYEEGROUP_RULEGROUP_ID" type="CHAR(36)"/>
<column name="COND" type="LONGTEXT"/>
<column name="NAME" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="332fd9e4-febf-48cf-bd74-466dd32e1966">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPGRLRULE_EMPRLGROUP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPGRLRULE_EMPRLGROUP_ID" tableName="employeegroup_rule">
<column name="EMPLOYEEGROUP_RULEGROUP_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="18607a83-5695-4f62-9114-d51d79155738">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="employeegroup_rulegroup"/>
</not>
</preConditions>
<createTable tableName="employeegroup_rulegroup">
<column name="EMPLOYEEGROUP_RULEGROUPID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="STATE" type="VARCHAR(36)"/>
<column name="NAME" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</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="4e0bfc17-8652-462f-ac96-436c37ee1a3c">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="employeegroup_rulegroup_relation"/>
</not>
</preConditions>
<createTable tableName="employeegroup_rulegroup_relation">
<column name="EMPLOYEEGROUP_RULEGROUP_RELATIONID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="EMPLOYEEGROUP_RULEGROUP_ID" type="CHAR(36)"/>
<column name="EMPLOYEEGROUP_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="309e13aa-88fc-488d-b996-6a06e2aadcad">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPGRLRLREL_EMPRLGROUP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPGRLRLREL_EMPRLGROUP_ID" tableName="employeegroup_rulegroup_relation">
<column name="EMPLOYEEGROUP_RULEGROUP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="edd45619-7502-4ee5-be59-6ec92f709d97">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EMPGROULRLREL_EMPGROUP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EMPGROULRLREL_EMPGROUP_ID" tableName="employeegroup_rulegroup_relation">
<column name="EMPLOYEEGROUP_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="4be0e176-0532-45d8-af9d-943f3dba9ab2">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="event"/>
</not>
</preConditions>
<createTable tableName="event">
<column name="EVENTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="NAME" type="VARCHAR(100)"/>
<column name="EMPLOYEE_CONTACT_ID" type="CHAR(36)"/>
<column name="DESCRIPTION" type="VARCHAR(500)"/>
<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="STATUS" type="VARCHAR(36)"/>
<column name="TYPE" type="VARCHAR(36)"/>
<column defaultValueComputed="NULL" name="EVENTCODE" type="INT"/>
<column defaultValueComputed="NULL" name="EVENT_BEGIN" type="datetime"/>
<column defaultValueComputed="NULL" name="EVENT_END" type="datetime"/>
<column defaultValueComputed="NULL" name="REGISTRATION_DEADLINE" type="datetime"/>
<column name="LOCATION" type="VARCHAR(250)"/>
<column name="EVENTTYPE" type="VARCHAR(36)"/>
<column defaultValueComputed="NULL" name="MAXPARTICIPANTS" type="INT"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="36730bbc-038d-496b-938a-3dc4c2c3a56e">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EVENTCODE"/>
</not>
</preConditions>
<createIndex indexName="IDX_EVENTCODE" tableName="event">
<column defaultValueComputed="NULL" name="EVENTCODE"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="a009fbae-28d3-4564-a5a9-b8072ae0aa50">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EVENT_EMPL_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EVENT_EMPL_CONTACT_ID" tableName="event">
<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="66e4483b-8ec0-4d08-9516-601cb4729419">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="eventmessage"/>
</not>
</preConditions>
<createTable tableName="eventmessage">
<column name="EVENTMESSAGEID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="BULKMAIL_ID" type="CHAR(36)"/>
<column name="MESSAGETYPE" type="VARCHAR(36)"/>
<column name="EVENT_ID" type="CHAR(36)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="TARGETSTATUS" type="VARCHAR(36)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="5599d84e-b903-433c-aa69-3dc9bb788ce1">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="EVTMSG_BLKMID"/>
</not>
</preConditions>
<createIndex indexName="EVTMSG_BLKMID" tableName="eventmessage">
<column name="BULKMAIL_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="5198db73-f3de-4ef8-85de-9d2e69036198">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="EVTMSG_EVTID"/>
</not>
</preConditions>
<createIndex indexName="EVTMSG_EVTID" tableName="eventmessage">
<column name="EVENT_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="ad499033-179e-4623-a245-e43ad159aadf">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="eventmessagestatus"/>
</not>
</preConditions>
<createTable tableName="eventmessagestatus">
<column name="EVENTMESSAGESTATUSID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="EVENTMESSAGE_ID" type="CHAR(36)"/>
<column name="EVENTPARTICIPANTSTATUS" type="VARCHAR(36)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="d727a05d-a4b5-40fa-acf1-c065f9b27382">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="EVTMSGST_IDS"/>
</not>
</preConditions>
<createIndex indexName="EVTMSGST_IDS" tableName="eventmessagestatus">
<column name="EVENTMESSAGE_ID"/>
<column name="EVENTPARTICIPANTSTATUS"/>
</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="1bf1eec2-da2d-4770-a14f-f67ae7e8f3a6">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="eventparticipant"/>
</not>
</preConditions>
<createTable tableName="eventparticipant">
<column name="EVENTPARTICIPANTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="EVENT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="EVENTPARTICIPANTSTATUS" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
<column name="USER_NEW" type="VARCHAR(50)">
<constraints nullable="false"/>
</column>
<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="COMMENT" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="5a1e8f19-00f4-46a6-8036-7cee643a868e">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EVENTPARTCPNT_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EVENTPARTCPNT_CONTACT_ID" tableName="eventparticipant">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="8ca0e456-60e3-4e14-a0a3-e576f0bde5ad">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EVENTPARTCPNT_EVT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EVENTPARTCPNT_EVT_ID" tableName="eventparticipant">
<column name="EVENT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="6e50b854-7aa5-4a9e-80bd-7ce412c4d106">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EVENTPT_EVTPTSTS"/>
</not>
</preConditions>
<createIndex indexName="IDX_EVENTPT_EVTPTSTS" tableName="eventparticipant">
<column name="EVENTPARTICIPANTSTATUS"/>
</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="39d62634-f9f4-4e22-85ab-47222d1ac013">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="eventslot"/>
</not>
</preConditions>
<createTable tableName="eventslot">
<column name="EVENTSLOTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="NAME" type="VARCHAR(255)"/>
<column name="EVENTSLOTTYPE" type="VARCHAR(36)"/>
<column name="EVENT_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="SORTING" type="INT"/>
<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="RESPONSIBLE_CONTACT_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="STARTTIME" type="datetime"/>
<column defaultValueComputed="NULL" name="ENDTIME" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="88d31aee-6b37-4fb9-98ee-03d7435c17aa">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="EVTSLT_EVTID"/>
</not>
</preConditions>
<createIndex indexName="EVTSLT_EVTID" tableName="eventslot">
<column name="EVENT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="5e3d9228-e6b1-4a8b-bd3d-fa0ce4a99246">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="EVTSLT_RSPID"/>
</not>
</preConditions>
<createIndex indexName="EVTSLT_RSPID" tableName="eventslot">
<column name="RESPONSIBLE_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="cb997136-7702-4abf-880a-5e54b1884c6d">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="expenses"/>
</not>
</preConditions>
<createTable tableName="expenses">
<column name="EXPENSESID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="CONTACT_ID" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="STATUS" type="VARCHAR(36) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="KM_BILLING" 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="SETTLED" type="datetime"/>
<column name="TITLE" type="VARCHAR(36) character set utf8mb4"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="234140a3-9785-479b-a22d-de216394da51">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_EXPENSES_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_EXPENSES_CONTACT_ID" tableName="expenses">
<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="bae67c5f-71d8-4466-bd9e-c5d58a7c430b">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="forecast"/>
</not>
</preConditions>
<createTable tableName="forecast">
<column name="FORECASTID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="OBJECT_ROWID" type="CHAR(36)"/>
<column name="GROUPCODE" type="VARCHAR(36) character set utf8mb4"/>
<column name="INFO" type="LONGTEXT"/>
<column defaultValueComputed="NULL" name="DATE_START" type="datetime"/>
<column defaultValueComputed="NULL" name="VOLUME" type="DECIMAL(14, 2)"/>
<column name="OBJECT_TYPE" type="VARCHAR(63) character set utf8mb4"/>
<column defaultValueComputed="NULL" name="FORECAST_YEAR" type="INT"/>
<column name="CONTACT_ID" type="CHAR(36)"/>
<column name="KIND" type="VARCHAR(36) character set utf8mb4"/>
<column name="STATUS" type="VARCHAR(36) character set utf8mb4"/>
<column name="RESPONSIBLE_CONTACT_ID" type="CHAR(36)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="fddc1e85-eacc-4470-8ce8-4f566466c589">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_FORECAST_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_FORECAST_CONTACT_ID" tableName="forecast">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="203a34db-e1b1-4c84-a647-c2898efa4121">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_FORECAST_OBJECT_ROWID"/>
</not>
</preConditions>
<createIndex indexName="IDX_FORECAST_OBJECT_ROWID" tableName="forecast">
<column name="OBJECT_ROWID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="be6acf4f-37ce-4065-9a0d-b6a44190bba1">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_FORECAST_RESPONSIBLE_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_FORECAST_RESPONSIBLE_CONTACT_ID" tableName="forecast">
<column name="RESPONSIBLE_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="35f38659-3fda-441c-a61e-61d851bd846e">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="importfield"/>
</not>
</preConditions>
<createTable tableName="importfield">
<column name="IMPORTFIELDID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="FIELDNAME" type="VARCHAR(100)"/>
<column defaultValueComputed="NULL" name="FIELDNUMBER" type="INT"/>
<column name="MAPPINGFIELD" type="VARCHAR(100)"/>
<column name="LEADIMPORT_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="fd9d3cbb-63c4-4c98-8dbd-8f44369f39f2">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_IMPORTFIELD_LEADIMPORT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_IMPORTFIELD_LEADIMPORT_ID" tableName="importfield">
<column name="LEADIMPORT_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="63118bb6-abeb-4f56-a548-b6a1dbe30c03">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="inbox"/>
</not>
</preConditions>
<createTable tableName="inbox">
<column name="INBOXID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="NAME" type="VARCHAR(30)"/>
<column name="MAILUSER" type="VARCHAR(254)"/>
<column defaultValueComputed="NULL" name="INBOXDATE" type="datetime"/>
<column name="STATUS" type="VARCHAR(36)"/>
<column defaultValueComputed="NULL" name="REOPEN_DELAY" type="INT"/>
<column defaultValueComputed="NULL" name="CLOSURE_DAYS" type="INT"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="SENDMAIL" type="TINYINT"/>
</createTable>
</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="91b4b26d-71ee-4864-8369-b5d6a98acf7c">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="inbox_employeegroup_relation"/>
</not>
</preConditions>
<createTable tableName="inbox_employeegroup_relation">
<column name="INBOX_EMPLOYEEGROUP_RELATIONID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="EMPLOYEEGROUP_ID" type="CHAR(36)"/>
<column name="INBOX_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="aa1b3f51-e7c1-416f-904f-4e89ff894640">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_INBOX_EMPGR_RELAT_EMPGR_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_INBOX_EMPGR_RELAT_EMPGR_ID" tableName="inbox_employeegroup_relation">
<column name="EMPLOYEEGROUP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="2c58594a-ca11-45b7-90df-0440ed390737">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_INBOX_EMPGR_RELAT_INBOX_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_INBOX_EMPGR_RELAT_INBOX_ID" tableName="inbox_employeegroup_relation">
<column name="INBOX_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="cf64b1ac-c79f-42a9-a7e5-6d072e05c18c">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="inboxfilter"/>
</not>
</preConditions>
<createTable tableName="inboxfilter">
<column name="INBOXFILTERID" 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)"/>
<column name="TICKETTEMPLATE_ID" type="CHAR(36)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</changeSet>
<changeSet author="L.Werner (generated)" id="b252b04a-2908-4571-b0c4-2052a19af546">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_INBOXFILTER_INFILTGROUP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_INBOXFILTER_INFILTGROUP_ID" tableName="inboxfilter">
<column name="INBOXFILTERGROUP_ID"/>
</createIndex>
</changeSet>
<changeSet author="L.Werner (generated)" id="14bf88fe-d41e-426f-a8ba-8350980cf2fc">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_INBOXFILTER_TICKETTEMP_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_INBOXFILTER_TICKETTEMP_ID" tableName="inboxfilter">
<column name="TICKETTEMPLATE_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="1c005e82-a144-44de-b967-7eb47a294822">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="inboxfiltergroup"/>
</not>
</preConditions>
<createTable tableName="inboxfiltergroup">
<column name="INBOXFILTERGROUPID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="STATE" type="VARCHAR(36)"/>
<column name="NAME" type="VARCHAR(50)"/>
<column defaultValueComputed="NULL" name="DATE_NEW" type="datetime"/>
<column defaultValueComputed="NULL" name="PRIORITY" type="INT"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
</createTable>
</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