π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Make sure faces tables are initialized
laurenspriemee5be7f33913
diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dartindex 9316916a35..ad2ba416f5 100644--- a/mobile/lib/face/db.dart+++ b/mobile/lib/face/db.dart@@ -53,18 +53,12 @@ class FaceMLDataDB {}Future<void> _onCreate(SqliteDatabase asyncDBConnection) async {- final migrations = SqliteMigrations()- ..add(- SqliteMigration(_databaseVersion, (tx) async {- await tx.execute(createFacesTable);- await tx.execute(createFaceClustersTable);- await tx.execute(createClusterPersonTable);- await tx.execute(createClusterSummaryTable);- await tx.execute(createNotPersonFeedbackTable);- await tx.execute(fcClusterIDIndex);- }),- );- await migrations.migrate(asyncDBConnection);+ await asyncDBConnection.execute(createFacesTable);+ await asyncDBConnection.execute(createFaceClustersTable);+ await asyncDBConnection.execute(createClusterPersonTable);+ await asyncDBConnection.execute(createClusterSummaryTable);+ await asyncDBConnection.execute(createNotPersonFeedbackTable);+ await asyncDBConnection.execute(fcClusterIDIndex);}// bulkInsertFaces inserts the faces in the database in batches of 1000.