diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-12 12:01:13 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-12 12:01:13 +1200 |
commit | 0437de4a25092db28d63464e846f560da8c56304 (patch) | |
tree | 6472f6a3c97a7e1d5fdd76a9a38f1674c8a8041c /schema | |
parent | 077f620833aefd296e9027b07aeb86c0571ae8d9 (diff) | |
download | trackermap-server-0437de4a25092db28d63464e846f560da8c56304.tar.gz trackermap-server-0437de4a25092db28d63464e846f560da8c56304.tar.bz2 trackermap-server-0437de4a25092db28d63464e846f560da8c56304.zip |
Make liquibase filepath independent
Diffstat (limited to 'schema')
-rw-r--r-- | schema/changelog-3.3.xml | 3 | ||||
-rw-r--r-- | schema/changelog-3.5.xml | 9 | ||||
-rw-r--r-- | schema/changelog-3.6.xml | 9 |
3 files changed, 18 insertions, 3 deletions
diff --git a/schema/changelog-3.3.xml b/schema/changelog-3.3.xml index 1893a0200..6ed8cecaa 100644 --- a/schema/changelog-3.3.xml +++ b/schema/changelog-3.3.xml @@ -3,7 +3,8 @@ 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.3"> <changeSet author="author" id="changelog-3.3"> 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" /> diff --git a/schema/changelog-3.6.xml b/schema/changelog-3.6.xml index 378ec741f..e2fd72a61 100644 --- a/schema/changelog-3.6.xml +++ b/schema/changelog-3.6.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.6"> <changeSet author="author" id="changelog-3.6"> + <preConditions onFail="MARK_RAN"> + <not> + <tableExists tableName="events" /> + </not> + </preConditions> + <createTable tableName="events"> <column name="id" type="INT" autoIncrement="true"> <constraints primaryKey="true" /> |