If you’re getting an error that reads something like “unknown datatype for (columnname): “DATE”” in SQLite, it appears that you’re trying to define a column as a DATE
type in a strict table.
SQLite doesn’t support the DATE
type, however, this error should only occur on strict tables (i.e. a table defined as STRICT
).
To fix this issue, either use a supported data type or make the table a regular (non-strict) table.
Continue reading