Skip to content

Conversation

@pyramation
Copy link
Contributor

No description provided.

- Fix table name from 'database_extensions' (plural) to 'database_extension' (singular)
- Add missing queryAndParse call for 'field' table in collections_public
- Add unit tests to validate export-meta config structure

Co-Authored-By: Dan Lynch <[email protected]>
- Tests exportMeta function with proper table names
- Verifies database_extension (singular) is used correctly
- Tests that field table is queried
- Validates exported SQL contains expected data
The test exposed a pre-existing compatibility issue with csv-to-pg library
(ast.ResTarget is not a function). The static config validation tests in
pgpm/core/__tests__/export/ already verify the bug fixes.

This can be revisited once the csv-to-pg compatibility issue is resolved.
@pyramation pyramation merged commit d4f461a into main Dec 25, 2025
34 checks passed
@pyramation pyramation deleted the fix-exports/meta branch December 25, 2025 06:01
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

Successfully merging this pull request may close these issues.

2 participants