Bug fix issue #2476 (#2495)

* Bug fix issue #2476
* Support db migrations from version 5

* support migration(alter table) for versions >5
This commit is contained in:
Ashish Kumar 2019-02-20 22:28:53 +05:30 committed by Vivek Maskara
parent 546322ac35
commit cd145efe91

View file

@ -300,7 +300,7 @@ public class ContributionDao {
onUpdate(db, from, to);
return;
}
if (from == 8) {
if (from > 5) {
// Added place field
db.execSQL(ADD_WIKI_DATA_ENTITY_ID_FIELD);
from++;