diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index 1e75861..591a286 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -167,6 +167,7 @@ COLUMN_TYPE_MAPPING = { int: "INTEGER", bool: "INTEGER", str: "TEXT", + dict: "TEXT", bytes.__class__: "BLOB", bytes: "BLOB", memoryview: "BLOB", @@ -185,6 +186,7 @@ COLUMN_TYPE_MAPPING = { "integer": "INTEGER", "float": "FLOAT", "blob": "BLOB", + } # If numpy is available, add more types if np: