Skip to main content

hr.person_competency_assessments

Schema: hr
English table: hr.person_competency_assessments
Italian original table: hr.competenze_score
Description: Competency assessment scores assigned to a person within an organizational context and validity period.

Overview

  • Columns: 12
  • Primary key: id
  • Outgoing foreign keys: 3
  • Incoming foreign keys: 0
  • Indexes: 6

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
pca_idcomps_idintegerNOPerson competency assessment internal identifier, unique per tenant.
pca_person_idcomps_ana_idintegerNOReference to the person.
pca_org_unit_idcomps_org_idintegerNOReference to the organizational unit or position context used for the assessment.
pca_scorecomps_scorenumeric(6,2)NOAssessment score value.
pca_status_idcomps_statointegerNOAssessment status identifier.
pca_valid_fromcomps_daldateNOStart date of validity for the assessment.
tenant_idtenant_idintegerYESTenant identifier.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields in JSON format.
_deleted_deletedbooleanYESfalseSoft delete flag.
pca_valid_tocomps_aldateYESEnd date of validity for the assessment.
pca_valid_periodcomps_periododaterangeYESGENERATED: daterange(pca_valid_from, pca_valid_to, '[]'::text)Validity period derived from valid_from and valid_to (inclusive).

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_prcpca_org_unit_idpca_org_unit_id, tenant_idhr.organization_unitsou_id, tenant_idRESTRICTRESTRICT
fk_prcpca_person_idpca_person_id, tenant_idhr.person_registrypr_id, tenant_idRESTRICTCASCADE
fk_prcpca_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_person_competency_assessmentsid
  • Unique: uk_prcpca_pca_id_tenantpca_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_prcpca_tenantNObtreetenant_id
idx_prcpca_tenant_orgunitNObtreetenant_id, pca_org_unit_id) WHERE (_deleted = false
idx_prcpca_tenant_pcaNObtreetenant_id, pca_id) WHERE (_deleted = false
idx_prcpca_tenant_period_gistNOgisttenant_id, pca_valid_period) WHERE (_deleted = false
idx_prcpca_tenant_personNObtreetenant_id, pca_person_id) WHERE (_deleted = false
idx_prcpca_tenant_person_period_gistNOgisttenant_id, pca_person_id, pca_valid_period) WHERE (_deleted = false