Repository navigation
fix: Skip database integrity checks for unmanaged tables - #5756
Merged
marcelomendoncasoares merged 3 commits intoSep 24, 2026
Merged
marcelomendoncasoares merged 3 commits into
marcelomendoncasoares merged 3 commits into
Conversation
Exclude tables with managedMigration: false from runtime integrity verification while retaining checks for explicitly and implicitly managed tables. Add PostgreSQL regression coverage for manual expression and partial indexes, custom columns and foreign keys, missing tables, and mixed ownership. Fixes serverpod#5730
marcelomendoncasoares
marked this pull request as draft
September 22, 2026 17:15
Require unmanaged tables and model columns to exist with compatible types, nullability, and vector dimensions. Ignore defaults and migration-owned schema objects while retaining full validation for managed tables. Extend PostgreSQL regression coverage for the optional behavior requested in serverpod#5730.
Retain unrecognized PostgreSQL and SQLite timestamp default expressions instead of parsing them as literals. This lets unmanaged tables and extra columns with manual defaults reach ORM integrity validation. Cover the failures against both databases and preserve timestamp literal normalization. Add SQLite coverage for unmanaged column requirements and custom schema objects.
marcelomendoncasoares
marked this pull request as ready for review
September 23, 2026 20:38
FXschwartz
approved these changes
Sep 24, 2026
marcelomendoncasoares
merged commit Sep 24, 2026
2100357
into
serverpod:main
958 of 960 checks passed
marcelomendoncasoares
deleted the
skip-database-integrity-managed-tables
branch
September 24, 2026 22:46
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes: #5730
Fixes: #5733 (38748c7)
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
None.