aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schema/changelog-3.3.xml3
-rw-r--r--schema/changelog-3.5.xml9
-rw-r--r--schema/changelog-3.6.xml9
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" />