forked from FIWARE/context.Orion-LD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
timescale-changelog_v4.xml
63 lines (59 loc) · 2.53 KB
/
timescale-changelog_v4.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
<?xml version="1.0" encoding="UTF-8"?>
<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.8.xsd">
<changeSet author="[email protected]" id="v4_step_1">
<comment>Change polygon type.</comment>
<modifyDataType
columnName="geoPolygon"
newDataType="GEOGRAPHY(POLYGONZ, 4326)"
schemaName="public"
tableName="attributes"/>
<modifyDataType
columnName="geoPolygon"
newDataType="GEOGRAPHY(POLYGONZ, 4326)"
schemaName="public"
tableName="subAttributes"/>
</changeSet>
<changeSet author="[email protected]" id="v4_step_2">
<comment>Change multi-polygon type.</comment>
<modifyDataType
columnName="geoMultiPolygon"
newDataType="GEOGRAPHY(MULTIPOLYGONZ, 4326)"
schemaName="public"
tableName="attributes"/>
<modifyDataType
columnName="geoMultiPolygon"
newDataType="GEOGRAPHY(MULTIPOLYGONZ, 4326)"
schemaName="public"
tableName="subAttributes"/>
</changeSet>
<changeSet author="[email protected]" id="v4_step_3">
<comment>Change linestring type.</comment>
<modifyDataType
columnName="geoLineString"
newDataType="GEOGRAPHY(LINESTRINGZ, 4326)"
schemaName="public"
tableName="attributes"/>
<modifyDataType
columnName="geoLineString"
newDataType="GEOGRAPHY(LINESTRINGZ, 4326)"
schemaName="public"
tableName="subAttributes"/>
</changeSet>
<changeSet author="[email protected]" id="v4_step_4">
<comment>Change multi-linestring type.</comment>
<modifyDataType
columnName="geoMultiLineString"
newDataType="GEOGRAPHY(MULTILINESTRINGZ, 4326)"
schemaName="public"
tableName="attributes"/>
<modifyDataType
columnName="geoMultiLineString"
newDataType="GEOGRAPHY(MULTILINESTRINGZ, 4326)"
schemaName="public"
tableName="subAttributes"/>
</changeSet>
</databaseChangeLog>