Ir al contenido

Table: federation_directories

Esta página aún no está disponible en tu idioma.

Referenced by:

ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
directory_urltextno
operator_nametextnoDefault ''::text
operator_public_keytextno
operator_fingerprinttextno
operator_contacttextnoDefault ''::text
subscribed_attimestampnoDefault now()
subscribed_by_user_refbigintno
enabledbooleannoDefault true
last_polled_attimestampyes
last_poll_statustextnoDefault 'never_polled'::text
last_poll_errortextnoDefault ''::text
poll_interval_secondsintegernoDefault 21600
notestextnoDefault ''::text
publish_statustextnoDefault 'not_published'::text
publish_pending_tokentextnoDefault ''::text
publish_token_expires_attimestampyes
publish_record_nametextnoDefault ''::text
publish_record_valuetextnoDefault ''::text
publish_listing_idtextnoDefault ''::text
publish_last_attempt_attimestampyes
publish_last_errortextnoDefault ''::text
publish_display_nametextnoDefault ''::text
publish_regiontextnoDefault ''::text
publish_descriptiontextnoDefault ''::text
publish_tagsjsonbnoDefault '[]'::jsonb
created_attimestampnoDefault now()
updated_attimestampnoDefault now()
  • CONSTRAINT federation_directories_last_poll_status_check CHECK ((last_poll_status = ANY (ARRAY['never_polled'::text, 'ok'::text, 'unreachable'::text, 'signature_failed'::text, 'malformed'::text, 'spec_version_mismatch'::text])))
  • CONSTRAINT federation_directories_poll_interval_seconds_check CHECK ((poll_interval_seconds >= 300))
  • CONSTRAINT federation_directories_publish_status_check CHECK ((publish_status = ANY (ARRAY['not_published'::text, 'pending_dns'::text, 'pending_register'::text, 'listed'::text, 'failed'::text])))
CREATE TABLE public.federation_directories (
id uuid DEFAULT gen_random_uuid() NOT NULL,
directory_url text NOT NULL,
operator_name text DEFAULT ''::text NOT NULL,
operator_public_key text NOT NULL,
operator_fingerprint text NOT NULL,
operator_contact text DEFAULT ''::text NOT NULL,
subscribed_at timestamp with time zone DEFAULT now() NOT NULL,
subscribed_by_user_ref bigint NOT NULL,
enabled boolean DEFAULT true NOT NULL,
last_polled_at timestamp with time zone,
last_poll_status text DEFAULT 'never_polled'::text NOT NULL,
last_poll_error text DEFAULT ''::text NOT NULL,
poll_interval_seconds integer DEFAULT 21600 NOT NULL,
notes text DEFAULT ''::text NOT NULL,
publish_status text DEFAULT 'not_published'::text NOT NULL,
publish_pending_token text DEFAULT ''::text NOT NULL,
publish_token_expires_at timestamp with time zone,
publish_record_name text DEFAULT ''::text NOT NULL,
publish_record_value text DEFAULT ''::text NOT NULL,
publish_listing_id text DEFAULT ''::text NOT NULL,
publish_last_attempt_at timestamp with time zone,
publish_last_error text DEFAULT ''::text NOT NULL,
publish_display_name text DEFAULT ''::text NOT NULL,
publish_region text DEFAULT ''::text NOT NULL,
publish_description text DEFAULT ''::text NOT NULL,
publish_tags jsonb DEFAULT '[]'::jsonb NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT federation_directories_last_poll_status_check CHECK ((last_poll_status = ANY (ARRAY['never_polled'::text, 'ok'::text, 'unreachable'::text, 'signature_failed'::text, 'malformed'::text, 'spec_version_mismatch'::text]))),
CONSTRAINT federation_directories_poll_interval_seconds_check CHECK ((poll_interval_seconds >= 300)),
CONSTRAINT federation_directories_publish_status_check CHECK ((publish_status = ANY (ARRAY['not_published'::text, 'pending_dns'::text, 'pending_register'::text, 'listed'::text, 'failed'::text])))
);

Please see the schema overview for context. This document was last regenerated on 2026-07-26T08:25:29.520Z.