hr.person_evaluation_goals
Schema: hr
English table: hr.person_evaluation_goals
Italian original table: hr.ana_valutazione_obiettivi
Description: Goals defined within a person evaluation, including description, planned actions and the assigned score, within a tenant context.
Overview
- Columns: 9
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 3
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
anavao_id | anavao_id | integer | NO | | Legacy goal identifier (unique within tenant). |
anavao_anava_id | anavao_anava_id | integer | NO | | Legacy evaluation identifier referencing the related person evaluation. |
anavao_description | anavao_description | text | NO | | Goal description. |
anavao_action | anavao_action | text | NO | | Planned actions to achieve the goal. |
anavao_score | anavao_score | numeric(5,2) | NO | | Score assigned to the goal. |
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_pevalg_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_person_evaluation_goals → id
- Unique:
uk_pevalg_anavao_id_tenant → anavao_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_pevalg_tenant | NO | btree | tenant_id |
idx_pevalg_tenant_evaluation | NO | btree | tenant_id, anavao_anava_id) WHERE (_deleted = false |
idx_pevalg_tenant_goal_code | NO | btree | tenant_id, anavao_id) WHERE (_deleted = false |
Navigation