aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-04-30 22:40:58 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-04-30 22:40:58 -0700
commit42671f5ab7a615569dafa43cf15b209f34ea0c55 (patch)
treed35e05f7f275cf5598c4e3c8bf4b16464cd46fcb /schema
parentbedbcdf270a9565a9013dfb2af9ef596e61a0574 (diff)
downloadtrackermap-server-42671f5ab7a615569dafa43cf15b209f34ea0c55.tar.gz
trackermap-server-42671f5ab7a615569dafa43cf15b209f34ea0c55.tar.bz2
trackermap-server-42671f5ab7a615569dafa43cf15b209f34ea0c55.zip
Add events table index
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-4.9.xml18
-rw-r--r--schema/changelog-master.xml1
2 files changed, 19 insertions, 0 deletions
diff --git a/schema/changelog-4.9.xml b/schema/changelog-4.9.xml
new file mode 100644
index 000000000..4238f50ba
--- /dev/null
+++ b/schema/changelog-4.9.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-4.9">
+
+ <changeSet author="author" id="changelog-4.9">
+
+ <createIndex tableName="tc_events" indexName="event_deviceid_servertime">
+ <column name="deviceid" />
+ <column name="servertime" />
+ </createIndex>
+
+ </changeSet>
+
+</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index 5d770c4aa..5626a594e 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -24,5 +24,6 @@
<include file="changelog-4.1.xml" relativeToChangelogFile="true" />
<include file="changelog-4.7.xml" relativeToChangelogFile="true" />
+ <include file="changelog-4.9.xml" relativeToChangelogFile="true" />
</databaseChangeLog>