π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Don't drop cluster summaries when dropping feedback
laurenspriem68be7f69d8f9
diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dartindex bef9089fe0..308bb2854d 100644--- a/mobile/lib/face/db.dart+++ b/mobile/lib/face/db.dart@@ -988,7 +988,7 @@ class FaceMLDataDB {}}- /// WARNING: This will delete ALL data in the database! Only use this for debug/testing purposes!+ /// WARNING: This will delete ALL data in the tables! Only use this for debug/testing purposes!Future<void> dropFeedbackTables() async {try {final db = await instance.asyncDB;@@ -997,12 +997,10 @@ class FaceMLDataDB {await db.execute(deletePersonTable);await db.execute(dropClusterPersonTable);await db.execute(dropNotPersonFeedbackTable);- await db.execute(dropClusterSummaryTable);// Recreate the tablesawait db.execute(createClusterPersonTable);await db.execute(createNotPersonFeedbackTable);- await db.execute(createClusterSummaryTable);} catch (e) {_logger.severe('Error dropping feedback tables', e);}