diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-19 09:18:59 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-19 09:18:59 +1300 |
commit | 98d20f23b247c5a5cf45354ba96a2686df97927e (patch) | |
tree | cf931e8cfa7bc4439b97c9ad14570c20477811e6 | |
parent | df84a18e7aabc666953b2aa4e5819603486980af (diff) | |
download | traccar-server-98d20f23b247c5a5cf45354ba96a2686df97927e.tar.gz traccar-server-98d20f23b247c5a5cf45354ba96a2686df97927e.tar.bz2 traccar-server-98d20f23b247c5a5cf45354ba96a2686df97927e.zip |
Check if database exists before normalize
-rw-r--r-- | database/db.changelog-normalize.xml | 2 |
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> |