Skip to content

Table: user_follows

ColumnTypeNullableNotes
follower_user_refbigintno-
followee_user_refbigintno-
created_attimestampnoDefault now()
origin_server_iduuidyes-
  • CONSTRAINT user_follows_check CHECK ((follower_user_ref <> followee_user_ref))
CREATE TABLE public.user_follows (
follower_user_ref bigint NOT NULL,
followee_user_ref bigint NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
origin_server_id uuid,
CONSTRAINT user_follows_check CHECK ((follower_user_ref <> followee_user_ref))
);

Please see the schema overview for context. This document was last regenerated on 2026-11-16T07:02:04.019Z.