This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
db.changelog-3.7.xml
75 lines (68 loc) · 2.92 KB
/
db.changelog-3.7.xml
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
72
73
74
75
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd">
<changeSet id="1" author="aeng@redhat.com">
<comment>Add pluralForms column to HLocale</comment>
<addColumn tableName="HLocale">
<column name="pluralForms" type="varchar(100)">
<constraints nullable="true" />
</column>
</addColumn>
</changeSet>
<changeSet id="2" author="aeng@redhat.com">
<comment>Add displayName, nativeName column to HLocale</comment>
<addColumn tableName="HLocale">
<column name="displayName" type="varchar(100)">
<constraints nullable="true" />
</column>
</addColumn>
<addColumn tableName="HLocale">
<column name="nativeName" type="varchar(100)">
<constraints nullable="true" />
</column>
</addColumn>
</changeSet>
<changeSet author="damason@redhat.com" id="1">
<comment>Modify existing id for plaintext and libreoffice documents to use content hash instead of old positional id.</comment>
<customChange class="org.zanata.liquibase.custom.ChangePositionalResIdToContentHash" />
</changeSet>
<changeSet id="2" author="pahuang@redhat.com">
<comment>add indexes to HTextFlowTargetHistory and HTextFlowTarget table</comment>
<createIndex tableName="HTextFlowTargetHistory" indexName="Idx_lastChanged">
<column name="lastChanged"/>
</createIndex>
<createIndex tableName="HTextFlowTargetHistory" indexName="Idx_TranslatedBy">
<column name="reviewed_by_id"/>
</createIndex>
<createIndex tableName="HTextFlowTargetHistory" indexName="Idx_ReviewedBy">
<column name="reviewed_by_id"/>
</createIndex>
<createIndex tableName="HTextFlowTarget" indexName="Idx_ReviewedBy">
<column name="reviewed_by_id"/>
</createIndex>
</changeSet>
<changeSet id="3" author="pahuang@redhat.com">
<comment>add indexes to HTextFlowTargetHistory and HTextFlowTarget table</comment>
<createIndex tableName="HTextFlowTargetHistory" indexName="Idx_lastModifiedBy">
<column name="last_modified_by_id"/>
</createIndex>
<createIndex tableName="HTextFlowTarget" indexName="Idx_lastModifiedBy">
<column name="last_modified_by_id"/>
</createIndex>
</changeSet>
<changeSet id="3" author="aeng@redhat.com">
<comment>Add revisionComment to HTextFlowTarget, HTextFlowTargetHistory</comment>
<addColumn tableName="HTextFlowTarget">
<column name="revisionComment" type="longtext">
<constraints nullable="true" />
</column>
</addColumn>
<addColumn tableName="HTextFlowTargetHistory">
<column name="revisionComment" type="longtext">
<constraints nullable="true" />
</column>
</addColumn>
</changeSet>
</databaseChangeLog>