chore: sync schemas/tables from constructive-db (no procedures)#51
Merged
pyramation merged 3 commits intomainfrom Mar 24, 2026
Merged
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…module/uuid_module, update encrypted-secrets-table snapshot
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.
Summary
Syncs all 20 pgpm modules from constructive-db, containing only schemas and tables (no closed-source procedures). This replaces the reverted PR #50 which accidentally included procedure files.
Key changes across modules:
uuid_generate_v4()→uuidv7()in all table definitions;uuid-osspremoved from control filerequires0.15.3→0.15.5blueprintandblueprint_templatetables; removedtable_moduleanduuid_moduletables; updated column definitions (e.g.fields,grant_privilegesonsecure_table_provision)embedding_chunkstableCOMMENT ON CONSTRAINT ... IS E'@omit manyToMany'annotations from all tablespyramation/pgvector:13.3-alpinetoconstructiveio/postgres-plus:18; pgpm2.7.9→4.7.4Updates since last revision
constructiveio/postgres-plus:18— all 22 CI checks now passmetaschema-modulestest expectations: removedtable_moduleanduuid_modulefrom the expected modules list and removed thetable_modulestructure test (both tables were dropped in the constructive-db source)encrypted-secrets-tablesnapshot foruuidv7()defaultReview & Testing Checklist for Human
procedures/compute_blueprint_hash,procedures/construct_blueprint,procedures/copy_template_to_blueprint,procedures/validate_blueprint_definitionin the branch. Onlyfaker/procedures/utils.sql(a public utility) should exist.table_moduleanduuid_moduleis intentional — the test file was modified to stop asserting these tables exist. Verify in constructive-db that these tables were intentionally dropped and are not expected by downstream consumers.@omit manyToManycomment removals in services package are intentional — these were present in the old version and removed in constructive-db. This may affect PostGraphile schema generation for downstream consumers.Test Plan
pgpm deploya module locally againstconstructiveio/postgres-plus:18to verify theuuidv7()migration works end-to-endmetaschema-modulesand verify the newblueprint/blueprint_templatetables are created and the removedtable_module/uuid_moduletables are absentNotes
packages/metaschemaso they stay in the private repo. After both PRs merge,pgpm-modules/in constructive-db can be directly copied to this public repo without leaking closed-source code.servicespackage revert SQL files were restored frommainsince constructive-db doesn't track them.Link to Devin session: https://app.devin.ai/sessions/c26111a26a9a44f891534104a809dcdb
Requested by: @pyramation