From 8ede57b0240ba8046d0e805ce9b0e914905bde5b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 13 Dec 2011 09:33:11 +0900 Subject: [PATCH] should init schema on collection creation --- anki/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anki/storage.py b/anki/storage.py index dbe943205..5338cebc6 100644 --- a/anki/storage.py +++ b/anki/storage.py @@ -131,8 +131,8 @@ create table if not exists graves ( ); insert or ignore into col -values(1,0,0,0,%(v)s,0,0,0,'','{}','','','{}'); -""" % ({'v':SCHEMA_VERSION})) +values(1,0,0,%(s)s,%(v)s,0,0,0,'','{}','','','{}'); +""" % ({'v':SCHEMA_VERSION, 's':intTime(1000)})) if setColConf: _addColVars(db, *_getColVars(db))