mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
assert undoLog primary key not null
This commit is contained in:
parent
eed5df1038
commit
c2fb704c52
1 changed files with 1 additions and 1 deletions
|
@ -2076,7 +2076,7 @@ select id from fields where factId not in (select id from facts)""")
|
|||
self.redoStack = []
|
||||
self.undoEnabled = True
|
||||
self.s.statement(
|
||||
"create temporary table undoLog (seq integer primary key, sql text)")
|
||||
"create temporary table undoLog (seq integer primary key not null, sql text)")
|
||||
tables = self.s.column0(
|
||||
"select name from sqlite_master where type = 'table'")
|
||||
for table in tables:
|
||||
|
|
Loading…
Reference in a new issue