hr.person_evaluation_competency_scores
Schema: hr
English table: hr.person_evaluation_competency_scores
Italian original table: hr.ana_valutazione_link
Description: Link between a person evaluation and a competency, storing the assigned score within a tenant context.
Overview
- Columns: 8
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 4
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
anaval_id | anaval_id | integer | NO | | Legacy link identifier (unique within tenant). |
anaval_anava_id | anaval_anava_id | integer | NO | | Legacy evaluation identifier referencing the related person evaluation. |
anaval_comp_id | anaval_comp_id | integer | NO | | Competency identifier linked to the evaluation. |
anaval_score | anaval_score | numeric(6,2) | NO | | Score assigned to the competency for the given evaluation. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for row ownership and partitioning. |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | Custom fields in JSON format. |
_deleted | _deleted | boolean | YES | false | Soft delete flag. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_peval_comp_score_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_person_evaluation_competency_scores → id
- Unique:
uk_peval_comp_score_anaval_id_tenant → anaval_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_pevalcs_tenant | NO | btree | tenant_id |
idx_pevalcs_tenant_competency | NO | btree | tenant_id, anaval_comp_id) WHERE (_deleted = false |
idx_pevalcs_tenant_evaluation | NO | btree | tenant_id, anaval_anava_id) WHERE (_deleted = false |
idx_pevalcs_tenant_link_code | NO | btree | tenant_id, anaval_id) WHERE (_deleted = false |
Navigation