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.
Connected to
Section titled “Connected to”This table references:
field_definition(id) via columnfield_idteams(id) via columnteam_id
Columns
Section titled “Columns”| Column | Type | Nullable | Notes |
|---|---|---|---|
field_id | uuid | no | References field_definition(id) |
team_id | uuid | no | References teams(id) |
default_value | jsonb | no | - |
created_at | timestamp | no | Default now() |
updated_at | timestamp | no | Default now() |
updated_by_user_ref | bigint | yes | - |
Full DDL
Section titled “Full DDL”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.