mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
revlog changes need to limited to (re)learning cards
if you switched schedulers with the git code or the beta, please restore from a backup prior to the switch
This commit is contained in:
parent
5632babee6
commit
e39c27afeb
1 changed files with 1 additions and 1 deletions
|
@ -1620,7 +1620,7 @@ where queue < 0""" % (intTime(), self.col.usn()))
|
||||||
# adding 'hard' in v2 scheduler means old ease entries need shifting
|
# adding 'hard' in v2 scheduler means old ease entries need shifting
|
||||||
# up or down
|
# up or down
|
||||||
def _remapLearningAnswers(self, sql):
|
def _remapLearningAnswers(self, sql):
|
||||||
self.col.db.execute("update revlog set %s" % sql)
|
self.col.db.execute("update revlog set %s and type in (0,2)" % sql)
|
||||||
|
|
||||||
def moveToV1(self):
|
def moveToV1(self):
|
||||||
self._emptyAllFiltered()
|
self._emptyAllFiltered()
|
||||||
|
|
Loading…
Reference in a new issue