diff --git a/app/lib/entity/sqlite/database_extension.dart b/app/lib/entity/sqlite/database_extension.dart index 6b0c06f6..824fa518 100644 --- a/app/lib/entity/sqlite/database_extension.dart +++ b/app/lib/entity/sqlite/database_extension.dart @@ -729,6 +729,8 @@ extension SqliteDbExtension on SqliteDb { await delete(faceRecognitionPersons).go(); await delete(ncAlbums).go(); await delete(ncAlbumItems).go(); + await delete(recognizeFaces).go(); + await delete(recognizeFaceItems).go(); // reset the auto increment counter await customStatement("UPDATE sqlite_sequence SET seq=0;"); diff --git a/app/test/entity/sqlite/database_test.dart b/app/test/entity/sqlite/database_test.dart index 2e246e8e..ebe643e7 100644 --- a/app/test/entity/sqlite/database_test.dart +++ b/app/test/entity/sqlite/database_test.dart @@ -322,6 +322,8 @@ Future _truncate() async { "face_recognition_persons", "nc_albums", "nc_album_items", + "recognize_faces", + "recognize_face_items", }); for (final t in tables) { expect(