mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't randomize field ids anymore
This commit is contained in:
parent
451c266591
commit
e1f505b853
1 changed files with 0 additions and 2 deletions
|
@ -2124,8 +2124,6 @@ select id from fields where factId not in (select id from facts)""")
|
||||||
# fix problems with cards being scheduled when not due
|
# fix problems with cards being scheduled when not due
|
||||||
self.updateProgress()
|
self.updateProgress()
|
||||||
self.s.statement("update cards set isDue = 0")
|
self.s.statement("update cards set isDue = 0")
|
||||||
# fix problems with conflicts on merge
|
|
||||||
self.s.statement("update fields set id = random()")
|
|
||||||
# these sometimes end up null on upgrade
|
# these sometimes end up null on upgrade
|
||||||
self.s.statement("update models set source = 0 where source is null")
|
self.s.statement("update models set source = 0 where source is null")
|
||||||
self.s.statement(
|
self.s.statement(
|
||||||
|
|
Loading…
Reference in a new issue