Table: api_tokens
Ce contenu n’est pas encore disponible dans votre langue.
Columns
Section titled “Columns”| Column | Type | Nullable | Notes |
|---|---|---|---|
id | uuid | no | Default gen_random_uuid() |
user_ref | bigint | no | — |
name | text | no | — |
token_hash | bytea | no | — |
scopes | text[] | no | Default '{}'::text[] |
expires_at | timestamp | yes | — |
last_used_at | timestamp | yes | — |
revoked_at | timestamp | yes | — |
created_at | timestamp | no | Default now() |
origin_server_id | uuid | yes | — |
Full DDL
Section titled “Full DDL”CREATE TABLE public.api_tokens ( id uuid DEFAULT gen_random_uuid() NOT NULL, user_ref bigint NOT NULL, name text NOT NULL, token_hash bytea NOT NULL, scopes text[] DEFAULT '{}'::text[] NOT NULL, expires_at timestamp with time zone, last_used_at timestamp with time zone, revoked_at timestamp with time zone, created_at timestamp with time zone DEFAULT now() NOT NULL, origin_server_id uuid);Please see the schema overview for context. This document was last regenerated on 2026-07-26T08:25:29.520Z.