Make sure that the file fetched for memories is not deleted
This commit is contained in:
parent
2a4d64f195
commit
e6b4619c52
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ class FilesDB {
|
|||
final db = await instance.database;
|
||||
final results = await db.query(
|
||||
table,
|
||||
where: '$columnCreationTime >= ? AND $columnCreationTime <= ?',
|
||||
where:
|
||||
'$columnCreationTime > ? AND $columnCreationTime < ? AND $columnIsDeleted = 0',
|
||||
whereArgs: [startCreationTime, endCreationTime],
|
||||
orderBy: '$columnCreationTime DESC',
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue