feat: update export flow for new metaschema tables and columns #607
+59
−1
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
Updates the export flow configuration to support new metaschema tables and columns that were added to the upstream pgpm-modules repository. This PR adds export configs for 4 new module tables and updates existing configs with new fields.
New table configs added:
table_module- table-level module configuration with node_type patternuser_profiles_module- user profiles configurationuser_settings_module- user settings configurationorganization_settings_module- organization settings configurationUpdated existing configs:
field_module- addednode_typefieldCompanion PRs:
Updates since last revision
default_is_approvedanddefault_is_verifiedfields frommemberships_moduleconfig in favor of a secure-by-default approach (coordinated with companion PRs)Review & Testing Checklist for Human
membership_type: 'int')Recommended test plan: After merging all companion PRs and deploying the schema changes, run the export flow against a test database and verify the new tables are exported correctly with all fields.
Notes
Link to Devin run: https://app.devin.ai/sessions/7ae0a5a06e9f4cbea02826b895676582
Requested by: Dan Lynch (@pyramation)