diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-08-01 12:17:31 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-08-01 12:17:31 +0200 |
commit | 30b35c5d764373afbf5d2c2d46a50b3591c537d1 (patch) | |
tree | 9521d1b9d0e1b9d6906a981fe069831db1b70e25 | |
parent | 37c496d4bcc19cfdac318e2405047d63ceb4933a (diff) |
more migration fixes for updating from 1.6.0 to 1.19.0
-rw-r--r-- | src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java b/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java index 3d9df91bb..86ba5a325 100644 --- a/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java +++ b/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java @@ -293,7 +293,7 @@ public class DatabaseBackend extends SQLiteOpenHelper { /* Any migrations that alter the Account table need to happen BEFORE this migration, as it * depends on account de-serialization. */ - if (oldVersion < 17 && newVersion >= 17) { + if (oldVersion < 17 && newVersion >= 17 && newVersion < 31) { List<Account> accounts = getAccounts(db); for (Account account : accounts) { String ownDeviceIdString = account.getKey(SQLiteAxolotlStore.JSONKEY_REGISTRATION_ID); |