Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?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>