Skip to content

@shutter-network/concorde/scheduler/schema

The tables this component creates, and the PostgreSQL schema concorde_scheduler it creates them in. A configuration listing @shutter-network/concorde/scheduler/schema creates all of them.

Generated from the snapshot drizzle-kit takes of src/scheduler/schema/index.ts, which is the snapshot an Operator's own generation reads. Never edited by hand.

concorde_scheduler.schedules

ColumnTypeNullableDefault
nametextno
kindtextno
attimestamp with time zoneyes
cron_exprtextyes
tztextyes
untiltimestamp with time zoneyes
datajsonbyes

Primary key: name

Check constraints

NameCondition
schedules_cron_has_fields"concorde_scheduler"."schedules"."kind" <> 'cron' or ("concorde_scheduler"."schedules"."cron_expr" is not null and "concorde_scheduler"."schedules"."tz" is not null and "concorde_scheduler"."schedules"."at" is not null)
schedules_kind_known"concorde_scheduler"."schedules"."kind" in ('once', 'cron')
schedules_once_has_at"concorde_scheduler"."schedules"."kind" <> 'once' or "concorde_scheduler"."schedules"."at" is not null