Skip to main content

hr.person_training_path_course_links

Schema: hr
English table: hr.person_training_path_course_links
Italian original table: hr.corsi_percorsi_ana_link
Description: Links people to training paths and courses, with a reference date, within the tenant.

Overview

  • Columns: 9
  • Primary key: id
  • Outgoing foreign keys: 4
  • Incoming foreign keys: 0
  • Indexes: 5

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
person_training_path_course_link_idperanal_idintegerNOTenant-scoped link identifier.
training_path_idperanal_percor_idintegerNOReferenced training path identifier (tenant-scoped).
training_course_idperanal_cor_idintegerNOReferenced training course identifier (tenant-scoped).
link_dateperanal_datedateNODate associated with the link (e.g., assignment or enrollment date).
person_idperanal_ana_idintegerNOReferenced person identifier (tenant-scoped).
tenant_idtenant_idintegerYESTenant identifier.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields in JSON format.
_deleted_deletedbooleanYESfalseTechnical soft delete flag.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_ptpcl_personperson_id, tenant_idhr.person_registrypr_id, tenant_idRESTRICTCASCADE
fk_ptpcl_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE
fk_ptpcl_training_coursetraining_course_id, tenant_idhr.training_coursestc_id, tenant_idRESTRICTRESTRICT
fk_ptpcl_training_pathtraining_path_id, tenant_idhr.training_pathstraining_path_id, tenant_idRESTRICTRESTRICT

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_person_training_path_course_linksid
  • Unique: uk_ptpcl_link_idperson_training_path_course_link_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_ptpcl_tenantNObtreetenant_id
idx_ptpcl_tenant_courseNObtreetenant_id, training_course_id) WHERE (_deleted = false
idx_ptpcl_tenant_link_idNObtreetenant_id, person_training_path_course_link_id) WHERE (_deleted = false
idx_ptpcl_tenant_pathNObtreetenant_id, training_path_id) WHERE (_deleted = false
idx_ptpcl_tenant_personNObtreetenant_id, person_id) WHERE (_deleted = false