DBHelper refactor fix: re-add version column

This commit is contained in:
Daniel Martí 2014-01-08 23:54:59 +01:00
parent a666b53ace
commit 1c988a0b5a

View File

@ -20,7 +20,7 @@ public class DBHelper extends SQLiteOpenHelper {
+ DB.TABLE_REPO + " (id integer primary key, address text not null, " + DB.TABLE_REPO + " (id integer primary key, address text not null, "
+ "name text, description text, inuse integer not null, " + "name text, description text, inuse integer not null, "
+ "priority integer not null, pubkey text, fingerprint text, " + "priority integer not null, pubkey text, fingerprint text, "
+ "maxage integer not null default 0, " + "maxage integer not null default 0, version integer not null default 0,"
+ "lastetag text, lastUpdated string);"; + "lastetag text, lastUpdated string);";
private static final String CREATE_TABLE_APK = "create table " + DB.TABLE_APK private static final String CREATE_TABLE_APK = "create table " + DB.TABLE_APK