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
<?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>