mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
no need to adjust hardInterval in upgrade; handled in deck open
This commit is contained in:
parent
76135dc8be
commit
b03f30c279
1 changed files with 0 additions and 3 deletions
|
@ -4115,9 +4115,6 @@ nextFactor, reps, thinkingTime, yesCount, noCount from reviewHistory""")
|
||||||
# leaner indices
|
# leaner indices
|
||||||
deck.s.statement("drop index if exists ix_cards_factId")
|
deck.s.statement("drop index if exists ix_cards_factId")
|
||||||
DeckStorage._addIndices(deck)
|
DeckStorage._addIndices(deck)
|
||||||
# per-day scheduling necessitates an increase here
|
|
||||||
deck.hardIntervalMin = 1
|
|
||||||
deck.hardIntervalMax = 1.1
|
|
||||||
deck.version = 44
|
deck.version = 44
|
||||||
deck.s.commit()
|
deck.s.commit()
|
||||||
if deck.version < 47:
|
if deck.version < 47:
|
||||||
|
|
Loading…
Reference in a new issue