Handle dict/tuple/list mapping to TEXT, closes #338

This commit is contained in:
Simon Willison 2021-11-14 16:36:00 -08:00
commit 9cda5b070f
2 changed files with 29 additions and 0 deletions

View file

@ -168,6 +168,8 @@ COLUMN_TYPE_MAPPING = {
bool: "INTEGER",
str: "TEXT",
dict: "TEXT",
tuple: "TEXT",
list: "TEXT",
bytes.__class__: "BLOB",
bytes: "BLOB",
memoryview: "BLOB",