aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-07 22:42:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-03-07 22:42:47 -0800
commite28ae518fddc930dcb26d70a4456ee1b28fb0ecc (patch)
treeac8678771bb35156e5537fd13ecfc66950a5ad54 /schema
parent312cd7bd408c978392cacb6ef580288158361ce5 (diff)
downloadtrackermap-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.tar.gz
trackermap-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.tar.bz2
trackermap-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.zip
Rename event time field
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-4.13.xml15
-rw-r--r--schema/changelog-master.xml1
2 files changed, 16 insertions, 0 deletions
diff --git a/schema/changelog-4.13.xml b/schema/changelog-4.13.xml
new file mode 100644
index 000000000..ead5c6c28
--- /dev/null
+++ b/schema/changelog-4.13.xml
@@ -0,0 +1,15 @@
+<?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.13">
+
+ <changeSet author="author" id="changelog-4.13">
+
+ <renameColumn tableName="tc_events" columnDataType="TIMESTAMP" oldColumnName="servertime" newColumnName="eventtime" />
+
+ </changeSet>
+
+</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index 7d4475df7..df54737a2 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -27,5 +27,6 @@
<include file="changelog-4.9.xml" relativeToChangelogFile="true" />
<include file="changelog-4.10.xml" relativeToChangelogFile="true" />
<include file="changelog-4.11.xml" relativeToChangelogFile="true" />
+ <include file="changelog-4.13.xml" relativeToChangelogFile="true" />
</databaseChangeLog>