mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
Android fix for #282
This commit is contained in:
parent
b0567fcc92
commit
3ee4388e63
@ -81,7 +81,7 @@ public class KiwixDatabase extends SquidDatabase {
|
||||
db.execSQL("DROP TABLE IF EXISTS recents");
|
||||
tryCreateTable(RecentSearch.TABLE);
|
||||
}
|
||||
if (newVersion >= 3 && (oldVersion < 3 || oldVersion == 7)) {
|
||||
if (newVersion >= 3 && (oldVersion < 3 || oldVersion == 7 || oldVersion == 6)) {
|
||||
db.execSQL("DROP TABLE IF EXISTS recents");
|
||||
db.execSQL("DROP TABLE IF EXISTS recentsearches");
|
||||
tryCreateTable(RecentSearch.TABLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user