diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-12 17:31:36 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-12 17:31:36 -0700 |
commit | 493ff1068ea3e4d96f2475234b265b47cce8691f (patch) | |
tree | 6de7dbc5ac202ba576bc04ecf45dab751aee7bfd /schema | |
parent | 98e2db95f73cb85a2623e2902741bcb4e73683e5 (diff) | |
download | trackermap-server-493ff1068ea3e4d96f2475234b265b47cce8691f.tar.gz trackermap-server-493ff1068ea3e4d96f2475234b265b47cce8691f.tar.bz2 trackermap-server-493ff1068ea3e4d96f2475234b265b47cce8691f.zip |
Persist device status (fix #4890, fix #4891)
Diffstat (limited to 'schema')
-rw-r--r-- | schema/changelog-5.2.xml | 21 | ||||
-rw-r--r-- | schema/changelog-master.xml | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/schema/changelog-5.2.xml b/schema/changelog-5.2.xml new file mode 100644 index 000000000..1ac9eedc5 --- /dev/null +++ b/schema/changelog-5.2.xml @@ -0,0 +1,21 @@ +<?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.2"> + + <changeSet author="author" id="changelog-5.2"> + + <addColumn tableName="tc_devices"> + <column name="status" type="CHAR(8)" /> + </addColumn> + + <addColumn tableName="tc_devices"> + <column name="geofenceIds" type="VARCHAR(128)" /> + </addColumn> + + </changeSet> + +</databaseChangeLog> diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml index 471b0fe5d..83a1ac865 100644 --- a/schema/changelog-master.xml +++ b/schema/changelog-master.xml @@ -32,5 +32,6 @@ <include file="changelog-5.0.xml" relativeToChangelogFile="true" /> <include file="changelog-5.1.xml" relativeToChangelogFile="true" /> + <include file="changelog-5.2.xml" relativeToChangelogFile="true" /> </databaseChangeLog> |