Skip to content

Conversation

@pyramation
Copy link
Contributor

Summary

Renames the services_public.api_schemata table to api_schemas to match the naming convention used in constructive-db. This fixes the error: relation "services_public.api_schemata" does not exist when using pgpm-modules.

Changes across two packages:

  • services: Renamed deploy/revert folders, updated SQL table definition, index names, pgpm.plan, and test file
  • metaschema-schema: Renamed revert/verify folders and updated README documentation

Review & Testing Checklist for Human

  • Breaking change consideration: Verify no existing deployments depend on the api_schemata table name. If they do, a migration strategy may be needed.
  • Run tests: Execute pnpm test in packages/services to verify the test passes with the new table name
  • Check for other consumers: Search constructive-db and any other repos that might reference api_schemata to ensure they've been updated

Notes

This is an upstream sync from constructive-db/pgpm-modules where the table was already renamed to api_schemas.

Link to Devin run: https://app.devin.ai/sessions/5d6536c4a35049f79948e80b2d8a6c05
Requested by: Dan Lynch (@pyramation)

This change renames the services_public.api_schemata table to api_schemas
to match the naming convention used in constructive-db.

Changes:
- Rename deploy/revert/verify folders from api_schemata to api_schemas
- Update all SQL files to use api_schemas table name
- Update pgpm.plan to reference api_schemas
- Update test file to use api_schemas
- Update README.md documentation
@devin-ai-integration
Copy link

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit 06dd4f3 into main Jan 8, 2026
22 checks passed
@pyramation pyramation deleted the devin/1767893473-rename-api-schemata-to-api-schemas branch January 8, 2026 18:31
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