Skip to content

Commit

Permalink
Bug fix issue #2476 (#2495)
Browse files Browse the repository at this point in the history
* Bug fix issue #2476
* Support db migrations from version 5

* support migration(alter table) for versions >5
  • Loading branch information
ashishkumar468 authored and maskaravivek committed Feb 20, 2019
1 parent 546322a commit cd145ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public static void onUpdate(SQLiteDatabase db, int from, int to) {
onUpdate(db, from, to);
return;
}
if (from == 8) {
if (from > 5) {
// Added place field
db.execSQL(ADD_WIKI_DATA_ENTITY_ID_FIELD);
from++;
Expand Down

0 comments on commit cd145ef

Please sign in to comment.