Table: federation_dispatch_state
A single-row cursor recording how far the outbox dispatcher has read the activities ledger. It advances in the same transaction as the outbox rows it covers, so after a restart the dispatcher resumes from the last committed point. Together with the outbox’s unique indexes, this keeps a re-run from adding duplicate rows; it doesn’t guarantee that each activity is delivered exactly once.
Columns
Section titled “Columns”| Column | Type | Nullable | Notes |
|---|---|---|---|
id | integer | no | - |
last_dispatched_activity_id | uuid | yes | - |
last_dispatched_at | timestamp | yes | - |
updated_at | timestamp | no | Default now() |
Constraints
Section titled “Constraints”CONSTRAINT federation_dispatch_state_id_check CHECK ((id = 1))
Full DDL
Section titled “Full DDL”This is the table’s CREATE TABLE statement. Constraints added with separate ALTER TABLE statements, including foreign-key ON DELETE rules, and indexes are defined elsewhere in the dump; see the complete app/schema.sql.
CREATE TABLE public.federation_dispatch_state ( id integer NOT NULL, last_dispatched_activity_id uuid, last_dispatched_at timestamp with time zone, updated_at timestamp with time zone DEFAULT now() NOT NULL, CONSTRAINT federation_dispatch_state_id_check CHECK ((id = 1)));See the schema overview for context.