update database to trigger consolidate

This commit is contained in:
Vincent Breitmoser 2015-05-28 22:43:10 +02:00
parent c4d392051c
commit 2bbb9b9608
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,7 @@ import java.io.IOException;
*/
public class KeychainDatabase extends SQLiteOpenHelper {
private static final String DATABASE_NAME = "openkeychain.db";
private static final int DATABASE_VERSION = 9;
private static final int DATABASE_VERSION = 10;
static Boolean apgHack = false;
private Context mContext;
@ -272,6 +272,8 @@ public class KeychainDatabase extends SQLiteOpenHelper {
db.execSQL("DROP TABLE IF EXISTS user_ids");
db.execSQL(CREATE_USER_PACKETS);
db.execSQL(CREATE_CERTS);
case 10:
// do nothing here, just consolidate
}