Aller au contenu

Table: sessions

Ce contenu n’est pas encore disponible dans votre langue.

This table references:

  • user(ref) via column impersonated_by_user_ref
ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
user_refbigintno
token_hashbyteano
created_attimestampnoDefault now()
last_used_attimestampnoDefault now()
expires_attimestampyes
revoked_attimestampyes
ipinetyes
user_agenttextyes
origin_server_iduuidyes
impersonated_by_user_refbigintyesReferences user(ref)
CREATE TABLE public.sessions (
id uuid DEFAULT gen_random_uuid() NOT NULL,
user_ref bigint NOT NULL,
token_hash bytea NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
last_used_at timestamp with time zone DEFAULT now() NOT NULL,
expires_at timestamp with time zone,
revoked_at timestamp with time zone,
ip inet,
user_agent text,
origin_server_id uuid,
impersonated_by_user_ref bigint
);

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