Make appId actually numeric on new database creations (was correct when migrating old databases)

This commit is contained in:
Peter Serwylo 2016-07-07 15:54:14 +10:00
parent 94c9114862
commit 131e7f9dbd

View File

@ -47,7 +47,7 @@ class DBHelper extends SQLiteOpenHelper {
private static final String CREATE_TABLE_APK = private static final String CREATE_TABLE_APK =
"CREATE TABLE " + ApkTable.NAME + " ( " "CREATE TABLE " + ApkTable.NAME + " ( "
+ ApkTable.Cols.PACKAGE_NAME + " text not null, " + ApkTable.Cols.PACKAGE_NAME + " text not null, "
+ ApkTable.Cols.APP_ID + " text not null, " + ApkTable.Cols.APP_ID + " integer not null, "
+ ApkTable.Cols.VERSION_NAME + " text not null, " + ApkTable.Cols.VERSION_NAME + " text not null, "
+ ApkTable.Cols.REPO_ID + " integer not null, " + ApkTable.Cols.REPO_ID + " integer not null, "
+ ApkTable.Cols.HASH + " text not null, " + ApkTable.Cols.HASH + " text not null, "