Skip to content

DataTypeNotSupportedError: Data type "json" in "xxx" is not supported by "sqlite" database. #8972

@Kolesar

Description

@Kolesar

Hi All,

The latest version of SQLite supports json type https://www.sqlite.org/json1.html, but in the TypeORM business logic no. Do you have any plan to update it based on the last SQLite version?

https://github.com/typeorm/typeorm/blob/master/src/driver/types/ColumnTypes.ts#L188

https://github.com/typeorm/typeorm/blob/master/src/driver/sqlite-abstract/AbstractSqliteDriver.ts#L128

I need this for e2e testing. By removing this constraint, I will be able to add all my e2e tests very easily without any workaround.

timestamp type is supported by SQLite as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions