remove unneeded index

This commit is contained in:
korelstar 2019-12-27 21:23:21 +01:00 committed by Niedermann IT-Dienstleistungen
parent ce960250d4
commit ec97e83406

View file

@ -266,7 +266,6 @@ public class NoteSQLiteOpenHelper extends SQLiteOpenHelper {
db.update(table_notes, values, key_id + " = ? ", new String[]{cursor.getString(0)});
}
cursor.close();
DatabaseIndexUtil.createIndex(db, table_notes, key_excerpt);
}
}
@ -283,7 +282,7 @@ public class NoteSQLiteOpenHelper extends SQLiteOpenHelper {
}
private static void createNotesIndexes(@NonNull SQLiteDatabase db) {
DatabaseIndexUtil.createIndex(db, table_notes, key_remote_id, key_account_id, key_status, key_favorite, key_category, key_modified, key_excerpt);
DatabaseIndexUtil.createIndex(db, table_notes, key_remote_id, key_account_id, key_status, key_favorite, key_category, key_modified);
}
private static void createAccountIndexes(@NonNull SQLiteDatabase db) {