diff options
author | Anton Tananaev <anton@traccar.org> | 2022-09-25 10:35:20 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-09-25 10:35:20 -0700 |
commit | fe3d9995cceb2f1530a7c2549ae9a4cf457cb7f0 (patch) | |
tree | 36e7d1b457f7c1e8d3b867cd106033d000a59ddf /schema/changelog-5.4.xml | |
parent | abb26e80a5617424d960a0f7d0b98fcb379a5224 (diff) | |
download | trackermap-server-fe3d9995cceb2f1530a7c2549ae9a4cf457cb7f0.tar.gz trackermap-server-fe3d9995cceb2f1530a7c2549ae9a4cf457cb7f0.tar.bz2 trackermap-server-fe3d9995cceb2f1530a7c2549ae9a4cf457cb7f0.zip |
Persist device state
Diffstat (limited to 'schema/changelog-5.4.xml')
-rw-r--r-- | schema/changelog-5.4.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/schema/changelog-5.4.xml b/schema/changelog-5.4.xml new file mode 100644 index 000000000..f3a13ef59 --- /dev/null +++ b/schema/changelog-5.4.xml @@ -0,0 +1,22 @@ +<?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.4"> + + <changeSet author="author" id="changelog-5.4"> + + <addColumn tableName="tc_devices"> + <column name="motionstate" type="BOOLEAN" defaultValueBoolean="false" /> + <column name="motiontime" type="TIMESTAMP" /> + <column name="motiondistance" type="DOUBLE" defaultValueNumeric="0" /> + <column name="overspeedstate" type="BOOLEAN" defaultValueBoolean="false" /> + <column name="overspeedtime" type="TIMESTAMP" /> + <column name="overspeedgeofenceid" type="INT" defaultValueNumeric="0" /> + </addColumn> + + </changeSet> + +</databaseChangeLog> |