mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix force_resync()
This commit is contained in:
parent
23f5c7cb9b
commit
1f35ff0bd5
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ delete from media where fname=?"
|
|||
|
||||
pub(super) fn force_resync(&mut self) -> Result<()> {
|
||||
self.db
|
||||
.execute_batch("delete from media; update meta set lastUsn=0, usn=0")
|
||||
.execute_batch("delete from media; update meta set lastUsn=0, dirMod=0")
|
||||
.map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue