Skip to content

chore: remove pgpm-cron module and scheduled_cron table#96

Merged
pyramation merged 1 commit into
mainfrom
fix/remove-pgpm-cron
Jul 10, 2026
Merged

chore: remove pgpm-cron module and scheduled_cron table#96
pyramation merged 1 commit into
mainfrom
fix/remove-pgpm-cron

Conversation

@pyramation

Copy link
Copy Markdown
Contributor

Summary

Removes the dead pg_cron machinery that #95 upstreamed: maintenance scheduling was consolidated under app_jobs.scheduled_jobs (constructive-io/constructive-db#2012), so pgpm_cron.sync_scheduled_cron() and the metaschema_public.scheduled_cron registry table have no consumers.

  • Deletes packages/pgpm-cron entirely (module, plan, compiled sql).
  • Drops schemas/metaschema_public/tables/scheduled_cron/table from metaschema-schema (plan line + deploy/revert/verify) and regenerates sql/metaschema-schema--0.15.5.sql via pgpm package.
  • Removes the pgpm-cron entry from MODULES.md.

Link to Devin session: https://app.devin.ai/sessions/7d74797f980143949a673f4bfff58ebe
Requested by: @pyramation

Maintenance scheduling moved to app_jobs.scheduled_jobs (constructive-db#2012);
the pg_cron sync module and its registry table are dead code.
@pyramation pyramation self-assigned this Jul 10, 2026
@devin-ai-integration

Copy link
Copy Markdown

🤖 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, CI, and merge conflict monitoring

@pyramation pyramation merged commit c381f19 into main Jul 10, 2026
23 checks passed
@pyramation pyramation deleted the fix/remove-pgpm-cron branch July 10, 2026 02:14
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.

1 participant