Aller au contenu

Table: asset_alternates

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

This table references:

ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
asset_iduuidnoReferences assets(id)
labeltextno
kindtextnoDefault 'authored'::text
object_hashtextnoReferences storage_objects(hash)
content_typetextnoDefault 'application/octet-stream'::text
size_bytesbigintno
origin_server_iduuidyes
created_by_user_refbigintyes
created_attimestampnoDefault now()
metadatajsonbnoDefault '{}'::jsonb
  • CONSTRAINT asset_alternates_kind_check CHECK (((length(kind) >= 1) AND (length(kind) <= 64)))
  • CONSTRAINT asset_alternates_label_check CHECK (((length(label) >= 1) AND (length(label) <= 256)))
  • CONSTRAINT asset_alternates_size_bytes_check CHECK ((size_bytes >= 0))
CREATE TABLE public.asset_alternates (
id uuid DEFAULT gen_random_uuid() NOT NULL,
asset_id uuid NOT NULL,
label text NOT NULL,
kind text DEFAULT 'authored'::text NOT NULL,
object_hash text NOT NULL,
content_type text DEFAULT 'application/octet-stream'::text NOT NULL,
size_bytes bigint NOT NULL,
origin_server_id uuid,
created_by_user_ref bigint,
created_at timestamp with time zone DEFAULT now() NOT NULL,
metadata jsonb DEFAULT '{}'::jsonb NOT NULL,
CONSTRAINT asset_alternates_kind_check CHECK (((length(kind) >= 1) AND (length(kind) <= 64))),
CONSTRAINT asset_alternates_label_check CHECK (((length(label) >= 1) AND (length(label) <= 256))),
CONSTRAINT asset_alternates_size_bytes_check CHECK ((size_bytes >= 0))
);

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