mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 13:26:15 +03:00
Fix #696 Database upgrade
Do nothing more after recreating the database
This commit is contained in:
parent
a4f798164e
commit
9158467dd0
1 changed files with 2 additions and 0 deletions
|
@ -269,10 +269,12 @@ public class NoteSQLiteOpenHelper extends SQLiteOpenHelper {
|
|||
Log.e(TAG, "Previous URL could not be parsed. Recreating database...");
|
||||
e.printStackTrace();
|
||||
recreateDatabase(db);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
Log.e(TAG, "Previous URL is null. Recreating database...");
|
||||
recreateDatabase(db);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (oldVersion < 10) {
|
||||
|
|
Loading…
Reference in a new issue