more migration fixes for updating from 1.6.0 to 1.19.3
This commit is contained in:
parent
91119ab691
commit
dfa17d1339
|
@ -296,7 +296,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);
|
||||
|
|
Loading…
Reference in a new issue