fix schema not being modified

https://forums.ankiweb.net/t/python-checksum-rust-checksum/8195/8
This commit is contained in:
Damien Elmes 2021-03-17 22:18:21 +10:00
parent 19c217d8a4
commit f8b5210df9

View file

@ -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: