Aller au contenu

Table: field_default_override

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

A per-team override of a field’s default value (field_definition.default_value), applied to that team’s uploads. It uses the same document shape and validation as the field default, and it is local to this instance.

This table references:

ColumnTypeNullableNotes
field_iduuidnoReferences field_definition(id)
team_iduuidnoReferences teams(id)
default_valuejsonbno-
created_attimestampnoDefault now()
updated_attimestampnoDefault now()
updated_by_user_refbigintyes-

This is the table’s CREATE TABLE statement. Constraints added with separate ALTER TABLE statements, including foreign-key ON DELETE rules, and indexes are defined elsewhere in the dump; see the complete app/schema.sql.

CREATE TABLE public.field_default_override (
field_id uuid NOT NULL,
team_id uuid NOT NULL,
default_value jsonb NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
updated_by_user_ref bigint
);

See the schema overview for context.