Skip to content
Snippets Groups Projects
create_bulkmailtestrecipient.xml 2.44 KiB
Newer Older
Lukas Werner's avatar
Lukas Werner committed
<?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>