aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-04-23 08:29:22 -0700
committerAnton Tananaev <anton@traccar.org>2023-04-23 08:29:22 -0700
commit30bafaed42e74863c5ca68a33c87f39d1e2de93d (patch)
tree0e5e6cf980b8f162680233cecfd854f87092216f /schema
parentc2637180549e69fc302f91f4685036e2697ae7bf (diff)
downloadtrackermap-server-30bafaed42e74863c5ca68a33c87f39d1e2de93d.tar.gz
trackermap-server-30bafaed42e74863c5ca68a33c87f39d1e2de93d.tar.bz2
trackermap-server-30bafaed42e74863c5ca68a33c87f39d1e2de93d.zip
Move geofenceIds to position
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-5.8.xml18
-rw-r--r--schema/changelog-master.xml1
2 files changed, 19 insertions, 0 deletions
diff --git a/schema/changelog-5.8.xml b/schema/changelog-5.8.xml
new file mode 100644
index 000000000..ec54bf17f
--- /dev/null
+++ b/schema/changelog-5.8.xml
@@ -0,0 +1,18 @@
+<?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.4.xsd"
+ logicalFilePath="changelog-5.8">
+
+ <changeSet author="author" id="changelog-5.8">
+
+ <dropColumn tableName="tc_devices" columnName="geofenceids" />
+ <addColumn tableName="tc_positions">
+ <column name="geofenceids" type="VARCHAR(128)" />
+ </addColumn>
+
+ </changeSet>
+
+</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index 1587cc789..dd2bcc8a7 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -38,5 +38,6 @@
<include file="changelog-5.5.xml" relativeToChangelogFile="true" />
<include file="changelog-5.6.xml" relativeToChangelogFile="true" />
<include file="changelog-5.7.xml" relativeToChangelogFile="true" />
+ <include file="changelog-5.8.xml" relativeToChangelogFile="true" />
</databaseChangeLog>