Table harbinger.public.employee_clinical_role_mappings
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19  √  nextval('employee_clinical_role_mappings_id_seq'::regclass)
employee_id int8 19
employees.id employee_clinical_role_mappings_employee_fk R
clinical_role_id int8 19
clinical_roles.id clinical_role_fk R
department_id int8 19  √  null
departments.id employee_clinical_role_mappings_department_fk R
updated_at timestamptz 35,6 now()

Analyzed at Tue Aug 16 14:31 UTC 2022

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc employee_clinical_role_mappings_id
clinical_role_id Performance Asc employee_clinical_role_mappings_clinical_role_id_idx
department_id Performance Asc employee_clinical_role_mappings_department_idx
employee_id Performance Asc employee_clinical_role_mappings_employee_id_idx

Close relationships  within of separation: