aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--database/db.changelog-normalize.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/database/db.changelog-normalize.xml b/database/db.changelog-normalize.xml
index 38995e383..7621846ca 100644
--- a/database/db.changelog-normalize.xml
+++ b/database/db.changelog-normalize.xml
@@ -8,6 +8,7 @@
<changeSet author="author" id="changelog-normalize-user">
<preConditions onFail="MARK_RAN">
+ <tableExists tableName="traccar" />
<not>
<columnExists tableName="user" columnName="id"/>
</not>
@@ -24,6 +25,7 @@
<changeSet author="author" id="changelog-normalize-user-device">
<preConditions onFail="MARK_RAN">
+ <tableExists tableName="traccar" />
<not>
<columnExists tableName="user_device" columnName="read"/>
</not>