Skip to content

Table: user

Referenced by:

ColumnTypeNullableNotes
refbigintno
usernamevarchar(50)yes
passwordvarchar(255)yes
fullnamevarchar(100)yes
emailvarchar(100)yes
usergroupbigintyes
last_activetimestampyes
account_expirestimestampyes
commentstextyes
password_last_changetimestampyes
approvedbigintnoDefault 1
langvarchar(11)yes
createdtimestampyesDefault now()
password_reset_hashvarchar(100)yes
originvarchar(50)yes
actor_uritextyes
signing_public_key_pemtextyes
signing_private_key_encbyteayes
encryption_public_keybyteayes
encryption_private_key_encbyteayes
email_verified_attimestampyes
failed_login_countintegernoDefault 0
lockout_untiltimestampyes
  • CONSTRAINT user_approved_check CHECK ((approved = ANY (ARRAY[(0)::bigint, (1)::bigint, (2)::bigint, (3)::bigint])))
CREATE TABLE public."user" (
ref bigint NOT NULL,
username character varying(50),
password character varying(255),
fullname character varying(100),
email character varying(100),
usergroup bigint,
last_active timestamp with time zone,
account_expires timestamp with time zone,
comments text,
password_last_change timestamp with time zone,
approved bigint DEFAULT 1 NOT NULL,
lang character varying(11),
created timestamp with time zone DEFAULT now(),
password_reset_hash character varying(100),
origin character varying(50),
actor_uri text,
signing_public_key_pem text,
signing_private_key_enc bytea,
encryption_public_key bytea,
encryption_private_key_enc bytea,
email_verified_at timestamp with time zone,
failed_login_count integer DEFAULT 0 NOT NULL,
lockout_until timestamp with time zone,
CONSTRAINT user_approved_check CHECK ((approved = ANY (ARRAY[(0)::bigint, (1)::bigint, (2)::bigint, (3)::bigint])))
);

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