mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
Disable remove just in case
This commit is contained in:
parent
2cb898a161
commit
18d7f1b163
1 changed files with 7 additions and 7 deletions
|
|
@ -71,12 +71,12 @@ Future<void> isarMigration(Ref ref, AppDatabase db, String savePath) async {
|
|||
);
|
||||
});
|
||||
|
||||
isar.close(deleteFromDisk: true);
|
||||
isar.close();
|
||||
|
||||
//Delete database file
|
||||
await Future.delayed(const Duration(seconds: 1));
|
||||
if (await isarPath.exists()) {
|
||||
log('Deleting old Fladder base folder: ${isarPath.path}');
|
||||
await isarPath.delete(recursive: true);
|
||||
}
|
||||
//Delete isar database after a few versions?
|
||||
// await Future.delayed(const Duration(seconds: 1));
|
||||
// if (await isarPath.exists()) {
|
||||
// log('Deleting old Fladder base folder: ${isarPath.path}');
|
||||
// await isarPath.delete(recursive: true);
|
||||
// }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue