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:
Damien Elmes 2019-02-11 18:12:44 +10:00
parent 5632babee6
commit e39c27afeb

View File

@ -1620,7 +1620,7 @@ where queue < 0""" % (intTime(), self.col.usn()))
# adding 'hard' in v2 scheduler means old ease entries need shifting
# up or down
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):
self._emptyAllFiltered()