docs: Add JSONB column support and GIN index documentation#470
Merged
marcelomendoncasoares merged 4 commits intoserverpod:mainfrom Apr 24, 2026
Merged
Conversation
marcelomendoncasoares
requested changes
Apr 23, 2026
Collaborator
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
Nice work with the docs! A few suggestions for improvement and also to cover the new migration support that is ongoing at serverpod/serverpod#4989.
marcelomendoncasoares
approved these changes
Apr 24, 2026
Collaborator
marcelomendoncasoares
left a comment
There was a problem hiding this comment.
LGTM! 🚀
Only one small comment, but feel free to fix it and merge directly :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds documentation for the JSONB column support feature introduced in serverpod/serverpod#4960.
Changes:
02-models.md): New "Storing fields as JSONB" section documentingserializationDataTypeat field, class, and project levels with precedence chain (field > class > project)04-indexing.md): New "GIN indexes" section documenting auto-defaulting, explicit type, and operator classes (jsonbOps,jsonbPathOps,arrayOps,tsvectorOps)07-configuration.md): Addedserialize_as_jsonb_by_defaultto the generator config options table02-models.mdand04-indexing.mdfor consistent H1 → H2 → H3 → H4 structureRefs serverpod/serverpod#3919, serverpod/serverpod#4960
To merge only when serverpod/serverpod#4960 is merged