aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.5.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-12 12:01:13 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-12 12:01:13 +1200
commit0437de4a25092db28d63464e846f560da8c56304 (patch)
tree6472f6a3c97a7e1d5fdd76a9a38f1674c8a8041c /schema/changelog-3.5.xml
parent077f620833aefd296e9027b07aeb86c0571ae8d9 (diff)
downloadtrackermap-server-0437de4a25092db28d63464e846f560da8c56304.tar.gz
trackermap-server-0437de4a25092db28d63464e846f560da8c56304.tar.bz2
trackermap-server-0437de4a25092db28d63464e846f560da8c56304.zip
Make liquibase filepath independent
Diffstat (limited to 'schema/changelog-3.5.xml')
-rw-r--r--schema/changelog-3.5.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/schema/changelog-3.5.xml b/schema/changelog-3.5.xml
index 63a3a3a92..934f389b2 100644
--- a/schema/changelog-3.5.xml
+++ b/schema/changelog-3.5.xml
@@ -3,10 +3,17 @@
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">
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
+ logicalFilePath="changelog-3.5">
<changeSet author="author" id="changelog-3.5">
+ <preConditions onFail="MARK_RAN">
+ <not>
+ <tableExists tableName="groups" />
+ </not>
+ </preConditions>
+
<createTable tableName="groups">
<column name="id" type="INT" autoIncrement="true">
<constraints primaryKey="true" />