Fix for REAL columns by CSV --detect-types

Refs https://github.com/simonw/sqlite-utils/issues/645#issuecomment-3568947189
This commit is contained in:
Simon Willison 2025-11-23 21:11:27 -08:00
commit 3b18b9e149
4 changed files with 26 additions and 4 deletions

View file

@ -216,7 +216,7 @@ COLUMN_TYPE_MAPPING = {
"str": "TEXT",
"integer": "INTEGER",
"int": "INTEGER",
"float": "FLOAT",
"float": "REAL",
"real": "REAL",
"blob": "BLOB",
"bytes": "BLOB",