when upgrading, make sure old reps are marked as reviews

This commit is contained in:
Damien Elmes 2011-03-25 14:05:36 +09:00
parent 7d5d72adf8
commit f850ce8b06

View file

@ -328,7 +328,7 @@ select
cast(time*1000 as int), cardId, ease, reps, cast(time*1000 as int), cardId, ease, reps,
cast(lastInterval as int), cast(nextInterval as int), cast(lastInterval as int), cast(nextInterval as int),
cast(nextFactor*1000 as int), cast(min(thinkingTime, 60)*1000 as int), cast(nextFactor*1000 as int), cast(min(thinkingTime, 60)*1000 as int),
0 from reviewHistory"""): 1 from reviewHistory"""):
row = list(row) row = list(row)
# new card ids # new card ids
try: try: