mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
* Bug fix issue #2476 * Support db migrations from version 5 * support migration(alter table) for versions >5
This commit is contained in:
parent
546322ac35
commit
cd145efe91
1 changed files with 1 additions and 1 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue