High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: skip truncating table in this release (#19300)
Alex10e2ec284103
diff --git a/mobile/lib/utils/migration.dart b/mobile/lib/utils/migration.dartindex b20950c089..6bcf92d402 100644--- a/mobile/lib/utils/migration.dart+++ b/mobile/lib/utils/migration.dart@@ -57,7 +57,13 @@ Future<void> migrateDatabaseIfNeeded(Isar db) async {}final shouldTruncate = version < 8 || version < targetVersion;+if (shouldTruncate) {+ if (targetVersion == 12) {+ await Store.put(StoreKey.version, targetVersion);+ return;+ }+await _migrateTo(db, targetVersion);}}