participant_exclusions

-1 rows


Description

Исключения для жеребьевки (кто кому не дарит)

Columns

Column Type Size Nulls Auto Default Children Parents Comments
from_participant_id uuid 2147483647 null
box_participants.id participant_exclusions_from_participant_id_fkey C

Участник который не дарит (FK на box_participants)

to_participant_id uuid 2147483647 null
box_participants.id participant_exclusions_to_participant_id_fkey C

Участник которому не дарит (FK на box_participants)

reason text 2147483647 null

Причина исключения (опционально)

created_at timestamptz 35,6 null

Дата создания исключения

id uuid 2147483647 null

Уникальный идентификатор (UUID)

updated_at timestamptz 35,6 now()

Indexes

Constraint Name Type Sort Column(s)
participant_exclusions_pkey Primary key Asc id
ix_participant_exclusions_from_participant_id Performance Asc from_participant_id
ix_participant_exclusions_to_participant_id Performance Asc to_participant_id
uq_exclusions_from_to Must be unique Asc/Asc from_participant_id + to_participant_id

Check Constraints

Constraint Name Constraint
chk_exclusions_different_participants (from_participant_id <> to_participant_id)

Relationships