Correction to e12ecbdb - need to add that after the db upgrade, now it's using a new field
This commit is contained in:
parent
540b7d0522
commit
937a15bf16
@ -232,6 +232,7 @@ public class DB {
|
||||
db.execSQL(CREATE_TABLE_REPO);
|
||||
db.execSQL(CREATE_TABLE_APP);
|
||||
db.execSQL(CREATE_TABLE_APK);
|
||||
onUpgrade(db, 1, DB_UPGRADES.length + 1);
|
||||
ContentValues values = new ContentValues();
|
||||
values.put("address", "http://f-droid.org/repo");
|
||||
values.put("inuse", 1);
|
||||
@ -243,7 +244,6 @@ public class DB {
|
||||
String pubkey = null;
|
||||
values.put("pubkey", pubkey);
|
||||
db.insert(TABLE_REPO, null, values);
|
||||
onUpgrade(db, 1, DB_UPGRADES.length + 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user