From 48dc09db5bbecceb6c86a423cda45a8123274eac Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 15 Nov 2008 18:38:17 +0900 Subject: [PATCH] add relativeDelay on upgrade - we don't need it, but old code does --- anki/deck.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anki/deck.py b/anki/deck.py index 85b752240..c60de84b6 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -1764,6 +1764,8 @@ order by priority desc, combinedDue""") deck.s.statement(""" alter table cards add column isDue boolean not null default 0""") deck.s.statement(""" + alter table cards add column relativeDelay float not null default 0.0""") + deck.s.statement(""" alter table cards add column type integer not null default 0""") deck.s.statement(""" alter table cards add column combinedDue float not null default 0""")