forked from FIWARE/context.Orion-LD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
timescale-changelog_v3.xml
43 lines (41 loc) · 1.57 KB
/
timescale-changelog_v3.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
<?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="v3_step_1">
<comment>Add multipoint for attributes.</comment>
<addColumn
schemaName= "public"
tableName="attributes" >
<column name="geoMultiPoint"
position="8"
type="GEOGRAPHY(MULTIPOINTZ, 4326)"/>
</addColumn>
<rollback>
<dropColumn
columnName="geoMultiPoint"
schemaName="public"
tableName="attributes">
</dropColumn>
</rollback>
</changeSet>
<changeSet author="[email protected]" id="v3_step_2">
<comment>Add multipoint for subAttributes.</comment>
<addColumn
schemaName= "public"
tableName="subAttributes" >
<column name="geoMultiPoint"
position="8"
type="GEOGRAPHY(MULTIPOINTZ, 4326)"/>
</addColumn>
<rollback>
<dropColumn
columnName="geoMultiPoint"
schemaName="public"
tableName="subAttributes">
</dropColumn>
</rollback>
</changeSet>
</databaseChangeLog>