diff --git a/collect_app/src/main/java/org/odk/collect/android/database/entities/DatabaseEntitiesRepository.kt b/collect_app/src/main/java/org/odk/collect/android/database/entities/DatabaseEntitiesRepository.kt index fc9ac65be2e..1e0090ae930 100644 --- a/collect_app/src/main/java/org/odk/collect/android/database/entities/DatabaseEntitiesRepository.kt +++ b/collect_app/src/main/java/org/odk/collect/android/database/entities/DatabaseEntitiesRepository.kt @@ -197,7 +197,7 @@ class DatabaseEntitiesRepository(context: Context, dbPath: String) : EntitiesRep databaseConnection.withConnection { getLists().forEach { writableDatabase.delete( - it, + "`$it`", "${EntitiesTable.COLUMN_ID} = ?", arrayOf(id) )