aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-17 15:47:18 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-17 15:47:18 +1300
commit3b0019a516a732e1a0cdbde1d2ce58a1c96cf953 (patch)
tree00389392dacf9066e46c813dc5d566b1443251b4 /database
parent48305c4c43c79a9575cf7573990e5127bbe88950 (diff)
downloadtraccar-server-3b0019a516a732e1a0cdbde1d2ce58a1c96cf953.tar.gz
traccar-server-3b0019a516a732e1a0cdbde1d2ce58a1c96cf953.tar.bz2
traccar-server-3b0019a516a732e1a0cdbde1d2ce58a1c96cf953.zip
Start Liquibase library integration
Diffstat (limited to 'database')
-rw-r--r--database/db.changelog-3.0.xml15
-rw-r--r--database/db.changelog-3.1.xml15
-rw-r--r--database/db.changelog-3.2.xml15
-rw-r--r--database/db.changelog-master.xml11
4 files changed, 56 insertions, 0 deletions
diff --git a/database/db.changelog-3.0.xml b/database/db.changelog-3.0.xml
new file mode 100644
index 000000000..b05ec6a03
--- /dev/null
+++ b/database/db.changelog-3.0.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<databaseChangeLog
+ xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
+
+ <changeSet author="authorName" id="changelog-1.0">
+ <createTable tableName="TablesAndTables">
+ <column name="COLUMN1" type="TEXT">
+ <constraints nullable="true" primaryKey="false" unique="false"/>
+ </column>
+ </createTable>
+ </changeSet>
+</databaseChangeLog>
diff --git a/database/db.changelog-3.1.xml b/database/db.changelog-3.1.xml
new file mode 100644
index 000000000..b05ec6a03
--- /dev/null
+++ b/database/db.changelog-3.1.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<databaseChangeLog
+ xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
+
+ <changeSet author="authorName" id="changelog-1.0">
+ <createTable tableName="TablesAndTables">
+ <column name="COLUMN1" type="TEXT">
+ <constraints nullable="true" primaryKey="false" unique="false"/>
+ </column>
+ </createTable>
+ </changeSet>
+</databaseChangeLog>
diff --git a/database/db.changelog-3.2.xml b/database/db.changelog-3.2.xml
new file mode 100644
index 000000000..b05ec6a03
--- /dev/null
+++ b/database/db.changelog-3.2.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<databaseChangeLog
+ xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
+
+ <changeSet author="authorName" id="changelog-1.0">
+ <createTable tableName="TablesAndTables">
+ <column name="COLUMN1" type="TEXT">
+ <constraints nullable="true" primaryKey="false" unique="false"/>
+ </column>
+ </createTable>
+ </changeSet>
+</databaseChangeLog>
diff --git a/database/db.changelog-master.xml b/database/db.changelog-master.xml
new file mode 100644
index 000000000..3dab44a15
--- /dev/null
+++ b/database/db.changelog-master.xml
@@ -0,0 +1,11 @@
+<?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.1.xsd">
+
+ <include file="db.changelog-3.0.xml"/>
+ <include file="db.changelog-3.1.xml"/>
+ <include file="db.changelog-3.2.xml"/>
+</databaseChangeLog>