Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix incorrent sqlite operation

ashilkn48436694ebbf
diff --git a/mobile/lib/db/entities_db.dart b/mobile/lib/db/entities_db.dart
index d3759389d6..228e5e2b01 100644
--- a/mobile/lib/db/entities_db.dart
+++ b/mobile/lib/db/entities_db.dart
@@ -28,6 +28,7 @@ extension EntitiesDB on FilesDB {
'''
INSERT OR ${conflictAlgorithm.name.toUpperCase()}
INTO entities (id, type, ownerID, data, updatedAt)
+ VALUES (?, ?, ?, ?, ?)
''',
parameterSets,
);
@@ -39,6 +40,7 @@ extension EntitiesDB on FilesDB {
'''
INSERT OR ${conflictAlgorithm.name.toUpperCase()}
INTO entities (id, type, ownerID, data, updatedAt)
+ VALUES (?, ?, ?, ?, ?)
''',
parameterSets,
);