mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -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");
|
db.execSQL("DROP TABLE IF EXISTS recents");
|
||||||
tryCreateTable(RecentSearch.TABLE);
|
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 recents");
|
||||||
db.execSQL("DROP TABLE IF EXISTS recentsearches");
|
db.execSQL("DROP TABLE IF EXISTS recentsearches");
|
||||||
tryCreateTable(RecentSearch.TABLE);
|
tryCreateTable(RecentSearch.TABLE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user