mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix schema not being modified
https://forums.ankiweb.net/t/python-checksum-rust-checksum/8195/8
This commit is contained in:
parent
19c217d8a4
commit
f8b5210df9
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ class Collection:
|
|||
if not self.schemaChanged():
|
||||
if check and not hooks.schema_will_change(proceed=True):
|
||||
raise AnkiError("abortSchemaMod")
|
||||
self.scm = intTime(1000)
|
||||
self.db.execute("update col set scm=?", intTime(1000))
|
||||
self.save()
|
||||
|
||||
def schemaChanged(self) -> bool:
|
||||
|
|
Loading…
Reference in a new issue