mirror of
https://github.com/ankitects/anki.git
synced 2025-11-24 21:47:13 -05:00
- notes with wrong field count are now recovered instead of being deleted - notes with missing note types are now recovered - notes with missing cards are now recovered - recover_missing_deck() still needs implementing - checks required
7 lines
No EOL
261 B
SQL
7 lines
No EOL
261 B
SQL
update revlog
|
|
set
|
|
ivl = min(max(round(ivl), -2147483648), 2147483647),
|
|
lastIvl = min(max(round(lastIvl), -2147483648), 2147483647)
|
|
where
|
|
ivl != min(max(round(ivl), -2147483648), 2147483647)
|
|
or lastIVl != min(max(round(lastIvl), -2147483648), 2147483647) |