Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use jsonb field type when using Postgres backend #20

Open
sekjal opened this issue Oct 28, 2020 · 1 comment
Open

Use jsonb field type when using Postgres backend #20

sekjal opened this issue Oct 28, 2020 · 1 comment

Comments

@sekjal
Copy link

sekjal commented Oct 28, 2020

I have submitted a PR to the silverstripe/silverstripe-postgresql repo to enable support for jsonb columns in the database, with hopes that this can be utilized by this module to facilitate better querying and performance when using Postgres as a backend. The typename was set to 'json' to be somewhat more generic than PostgreSQL's jsonb type.

I believe there is also native JSON support in MySQL's higher versions, which could be accounted for as well, should the SQL Schema Manager for that engine be updated to support the 'json' type as well.

@phptek
Copy link
Owner

phptek commented Oct 28, 2020

Interesting. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants