aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-18 13:39:14 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-18 13:39:14 +1200
commitc60bdb519aa24c24dc5df9fab98103d072f8a4db (patch)
treeecee0c766b8f774df9ab02849885be3c42b1f3e0
parentc6464493a3f91151cd7bd39b0e64807ec321c78c (diff)
downloadtrackermap-server-c60bdb519aa24c24dc5df9fab98103d072f8a4db.tar.gz
trackermap-server-c60bdb519aa24c24dc5df9fab98103d072f8a4db.tar.bz2
trackermap-server-c60bdb519aa24c24dc5df9fab98103d072f8a4db.zip
Clear default user account configuration
-rw-r--r--schema/changelog-3.8.xml25
-rw-r--r--schema/changelog-master.xml1
2 files changed, 26 insertions, 0 deletions
diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml
new file mode 100644
index 000000000..97bc1c9a3
--- /dev/null
+++ b/schema/changelog-3.8.xml
@@ -0,0 +1,25 @@
+<?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-3.8">
+
+ <changeSet author="author" id="changelog-3.8">
+
+ <update tableName="users">
+ <column name="map" type="VARCHAR(128)"/>
+ <where>map = 'osm'</where>
+ </update>
+ <update tableName="users">
+ <column name="distanceunit" type="VARCHAR(128)"/>
+ <where>distanceunit = 'km'</where>
+ </update>
+ <update tableName="users">
+ <column name="speedunit" type="VARCHAR(128)"/>
+ <where>speedunit = 'kmh'</where>
+ </update>
+
+ </changeSet>
+</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index 3b62537d0..341714ca8 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -9,4 +9,5 @@
<include file="changelog-3.5.xml" relativeToChangelogFile="true" />
<include file="changelog-3.6.xml" relativeToChangelogFile="true" />
<include file="changelog-3.7.xml" relativeToChangelogFile="true" />
+ <include file="changelog-3.8.xml" relativeToChangelogFile="true" />
</databaseChangeLog>