Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion MODULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
### Job Management
- [ ] `packages/jobs/jobs` - Core job system
- [ ] `packages/jobs/database-jobs` - Database-specific job handling
- [ ] `packages/pgpm-cron` - pg_cron sync for the scheduled_cron registry

## Meta & Database Introspection

Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion packages/metaschema-schema/pgpm.plan
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ schemas/metaschema_public/tables/function/table [schemas/metaschema_public/schem
schemas/metaschema_public/tables/partition/table [schemas/metaschema_public/schema schemas/metaschema_public/tables/database/table schemas/metaschema_public/tables/table/table schemas/metaschema_public/tables/field/table] 2026-05-26T00:00:00Z Constructive <developers@constructive.io> # add metaschema_public.partition table for pg_partman lifecycle config
schemas/metaschema_public/tables/composite_type/table [schemas/metaschema_public/schema schemas/metaschema_public/tables/database/table schemas/metaschema_public/tables/schema/table schemas/metaschema_public/types/object_category] 2026-05-29T00:00:00Z devin <devin@cognition.ai> # add metaschema_public.composite_type table for generated composite types
schemas/metaschema_public/tables/schema/triggers/enforce_api_exposure_ratchet [schemas/metaschema_public/tables/schema/table] 2026-06-18T00:00:03Z devin <devin@cognition.ai> # enforce one-way ratchet on api_exposure (never_expose is permanent)
schemas/metaschema_public/tables/scheduled_cron/table [schemas/metaschema_public/schema schemas/metaschema_public/tables/database/table] 2026-07-08T00:00:00Z devin <devin@cognition.ai> # add metaschema_public.scheduled_cron table for declarative pg_cron job tracking

This file was deleted.

21 changes: 1 addition & 20 deletions packages/metaschema-schema/sql/metaschema-schema--0.15.5.sql
Original file line number Diff line number Diff line change
Expand Up @@ -868,23 +868,4 @@ CREATE TRIGGER _000003_enforce_api_exposure_ratchet
ON metaschema_public.schema
FOR EACH ROW
WHEN (new.api_exposure IS DISTINCT FROM old.api_exposure)
EXECUTE PROCEDURE metaschema_public.tg_enforce_api_exposure_ratchet();

CREATE TABLE metaschema_public.scheduled_cron (
id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
database_id uuid NOT NULL,
name text NOT NULL,
schedule text NOT NULL,
command text NOT NULL,
is_enabled boolean NOT NULL DEFAULT true,
created_at timestamptz DEFAULT now(),
updated_at timestamptz DEFAULT now(),
CONSTRAINT scheduled_cron_database_fkey
FOREIGN KEY(database_id)
REFERENCES metaschema_public.database (id)
ON DELETE CASCADE,
CONSTRAINT scheduled_cron_database_name_unique
UNIQUE (database_id, name)
);

CREATE INDEX scheduled_cron_database_id_idx ON metaschema_public.scheduled_cron (database_id);
EXECUTE PROCEDURE metaschema_public.tg_enforce_api_exposure_ratchet();

This file was deleted.

2 changes: 0 additions & 2 deletions packages/pgpm-cron/.npmignore

This file was deleted.

22 changes: 0 additions & 22 deletions packages/pgpm-cron/LICENSE

This file was deleted.

6 changes: 0 additions & 6 deletions packages/pgpm-cron/Makefile

This file was deleted.

52 changes: 0 additions & 52 deletions packages/pgpm-cron/README.md

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions packages/pgpm-cron/deploy/schemas/pgpm_cron/schema.sql

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pgpm-cron/jest.config.js

This file was deleted.

35 changes: 0 additions & 35 deletions packages/pgpm-cron/package.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/pgpm-cron/pgpm-cron.control

This file was deleted.

6 changes: 0 additions & 6 deletions packages/pgpm-cron/pgpm.plan

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions packages/pgpm-cron/revert/schemas/pgpm_cron/schema.sql

This file was deleted.

26 changes: 0 additions & 26 deletions packages/pgpm-cron/sql/pgpm-cron--0.0.1.sql

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions packages/pgpm-cron/verify/schemas/pgpm_cron/schema.sql

This file was deleted.

Loading