mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-26 19:04:32 +02:00
Fix tests
This commit is contained in:
parent
3c849e97a6
commit
9e67431106
1 changed files with 2 additions and 2 deletions
|
|
@ -145,9 +145,9 @@ class Table:
|
|||
columns.append(name)
|
||||
row["columns"] = columns
|
||||
# These coluns may be missing on older SQLite versions:
|
||||
for key in ("origin", "partial"):
|
||||
for key, default in {"origin": "c", "partial": 0}.items():
|
||||
if key not in row:
|
||||
row[key] = None
|
||||
row[key] = default
|
||||
indexes.append(Index(**row))
|
||||
return indexes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue