mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-13 09:20:31 -07: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
|
//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);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue