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