Skip to main content

hr.performance_evaluation_form_items

Schema: hr
English table: hr.performance_evaluation_form_items
Italian original table: hr.scheda_valutazione_link
Description: Link table connecting evaluation templates to specific competencies or skills to be assessed.

Overview

  • Columns: 8
  • Primary key: id
  • Outgoing foreign keys: 3
  • Incoming foreign keys: 0
  • Indexes: 4

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
pefi_idscval_idintegerNOIdentifier of the related pefi record.
pefi_form_idscval_scava_idintegerNOReference to the parent evaluation form template.
pefi_item_type_idscval_tipointegerNOInternal classification of the evaluation item (e.g., numeric rating, text, skill).
pefi_competence_idscval_comp_idintegerNOReference to the specific competence/skill defined in the system.
tenant_idtenant_idintegerYESTenant identifier for data isolation.
colcustomcolcustomjsonbYES'{}'::jsonbJSON payload containing additional attributes.
_deleted_deletedbooleanYESfalseFlag indicating whether the record is soft-deleted.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_scval_comp_idpefi_competence_id, tenant_idhr.competenciescpt_id, tenant_idRESTRICTRESTRICT
fk_scval_scava_idpefi_form_id, tenant_idhr.performance_evaluation_formspef_id, tenant_idRESTRICTRESTRICT
fk_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_performance_evaluation_form_itemsid
  • Unique: uk_pefi_id_tenantpefi_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_pefi_competence_tenantNObtreetenant_id, pefi_competence_id) WHERE (_deleted = false
idx_pefi_form_tenantNObtreetenant_id, pefi_form_id) WHERE (_deleted = false
idx_pefi_id_tenantNObtreetenant_id, pefi_id) WHERE (_deleted = false
idx_pefi_tenantNObtreetenant_id