Disable remove just in case

This commit is contained in:
PartyDonut 2025-07-27 13:14:22 +02:00
parent 2cb898a161
commit 18d7f1b163

View file

@ -71,12 +71,12 @@ Future<void> isarMigration(Ref ref, AppDatabase db, String savePath) async {
); );
}); });
isar.close(deleteFromDisk: true); isar.close();
//Delete database file //Delete isar database after a few versions?
await Future.delayed(const Duration(seconds: 1)); // await Future.delayed(const Duration(seconds: 1));
if (await isarPath.exists()) { // if (await isarPath.exists()) {
log('Deleting old Fladder base folder: ${isarPath.path}'); // log('Deleting old Fladder base folder: ${isarPath.path}');
await isarPath.delete(recursive: true); // await isarPath.delete(recursive: true);
} // }
} }