aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-29 16:12:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-29 16:12:57 +1200
commit6c82282da3b35b2acf46f69655cd0d097058af24 (patch)
treea8c802590896ed7c49e374167a8a7212ef6bb06b /schema
parent4f235bcac5b13733684fed8e0ef05968123f6e10 (diff)
downloadtrackermap-server-6c82282da3b35b2acf46f69655cd0d097058af24.tar.gz
trackermap-server-6c82282da3b35b2acf46f69655cd0d097058af24.tar.bz2
trackermap-server-6c82282da3b35b2acf46f69655cd0d097058af24.zip
Save more statistics info
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-3.12.xml28
-rw-r--r--schema/changelog-master.xml1
2 files changed, 29 insertions, 0 deletions
diff --git a/schema/changelog-3.12.xml b/schema/changelog-3.12.xml
new file mode 100644
index 000000000..43c0e33f0
--- /dev/null
+++ b/schema/changelog-3.12.xml
@@ -0,0 +1,28 @@
+<?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.12">
+
+ <changeSet author="author" id="changelog-3.12">
+
+ <addColumn tableName="statistics">
+ <column name="mailsent" type="INT" defaultValueNumeric="0">
+ <constraints nullable="false" />
+ </column>
+ <column name="smssent" type="INT" defaultValueNumeric="0">
+ <constraints nullable="false" />
+ </column>
+ <column name="geocoderrequests" type="INT" defaultValueNumeric="0">
+ <constraints nullable="false" />
+ </column>
+ <column name="geolocationrequests" type="INT" defaultValueNumeric="0">
+ <constraints nullable="false" />
+ </column>
+ </addColumn>
+
+ </changeSet>
+
+</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index eaa5324f1..ba93d105f 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -13,4 +13,5 @@
<include file="changelog-3.9.xml" relativeToChangelogFile="true" />
<include file="changelog-3.10.xml" relativeToChangelogFile="true" />
<include file="changelog-3.11.xml" relativeToChangelogFile="true" />
+ <include file="changelog-3.12.xml" relativeToChangelogFile="true" />
</databaseChangeLog>