}
static void initDB() {
- db = SQLiteDatabase.openOrCreateDatabase( db_filename, null );
+ db = SQLiteDatabase.openOrCreateDatabase(db_filename, null);
db.execSQL("create table if not exists accounts(name varchar);");
db.execSQL("create index if not exists idx_accounts_name on accounts(name);");
+ db.execSQL("create table if not exists options(name varchar, value varchar);");
+ db.execSQL("create unique index if not exists idx_options_name on options(name);");
}
}