clear device_files and device_collections db on logout

This commit is contained in:
Neeraj Gupta 2022-09-29 14:49:14 +05:30
parent a2603a7dd9
commit 1b1ac30c41
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -344,6 +344,8 @@ class FilesDB {
Future<void> clearTable() async {
final db = await instance.database;
await db.delete(filesTable);
await db.delete("device_files");
await db.delete("device_collections");
}
Future<void> deleteDB() async {