mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure due is converted to int on upgrade
This commit is contained in:
parent
431fd2585e
commit
5278b3c2bb
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ when 0 then 1
|
|||
when 1 then 2
|
||||
when 2 then 0
|
||||
else type end),
|
||||
due, cast(interval as int),
|
||||
cast(due as int), cast(interval as int),
|
||||
cast(factor*1000 as int), reps, noCount, 0, 0, 0, "" from cards2
|
||||
order by created""")
|
||||
db.execute("drop table cards2")
|
||||
|
|
Loading…
Reference in a new issue