See PR #337 - bug found by @PhotonQyv

This commit is contained in:
stom79 2018-02-23 07:31:05 +01:00
parent 899be6d6ab
commit 1f4377b541
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@ public class Sqlite extends SQLiteOpenHelper {
db.execSQL("DROP TABLE IF EXISTS " + TABLE_STATUSES_CACHE);
db.execSQL(CREATE_TABLE_STATUSES_CACHE);
case 10:
//Table cache is deleted to avoid error during migration
db.execSQL("DROP TABLE IF EXISTS " + TABLE_STATUSES_CACHE);
db.execSQL(CREATE_TABLE_STATUSES_CACHE);
db.execSQL(CREATE_UNIQUE_CACHE_INDEX);
default:
break;