mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 23:27:55 +03:00
Fix #696 Database upgrade
Do nothing more after recreating the database
This commit is contained in:
parent
06a8d5ccbe
commit
4ba15087e0
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