Support for JSON field type in SQLite
See original GitHub issueProblem
SQLite has had support for JSON field type for a while. Sequelize
supports this field type on par with Postgres and MySQL.
Lack of support for this field type by Prisma is preventing us from porting over our project.
SQLite is a great bootstrapping technology that allows developers to quickly prototype applications without introducing new dependencies such as docker or worry about running yet another service in the development flow. JSON field type gives us the option to have a nosql
database colocated in a sql
database.
Suggested solution
Please implement support for this feature. See JSON Extension documentation and refer to Sequelize
’s implementation if required.
Alternatives
Defer migration to Prisma and stick with Sequelize
. Maintain status quo.
Additional context
cc: @ryands17 ref: https://github.com/prisma/prisma/discussions/3575
Issue Analytics
- State:
- Created 3 years ago
- Reactions:98
- Comments:24 (5 by maintainers)
Top GitHub Comments
This is the first result that comes up for
Prisma JSON SQLite
search. Some response on whether this is in near future plans or not would be appreciable from the maintainers, considering this issue is over an year old.We want to support both Sqlite and PostgreSQL in Webstudio and while migrating from MongoDB discovered the missing support for JSON type.
With the recent motion in favor of SQLite serverside by multiple startups and announcement of D1 from cloudflare, this should be a priority for Prisma.