hr.person_education_records
Schema: hr
English table: hr.person_education_records
Italian original table: hr.ana_titoli_studio
Description: Education title records associated with a person, including score and honors, within the tenant.
Overview
- Columns: 10
- 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. |
person_education_record_id | anatit_id | integer | NO | | Tenant-scoped education record identifier. |
education_title_id | anatit_stu_id | integer | NO | | Referenced education title identifier (tenant-scoped). |
person_id | anatit_ana_id | integer | NO | | Referenced person identifier (tenant-scoped). |
score_points | anatit_punti | numeric(4,0) | NO | | Score points achieved for the education title. |
max_score_points | anatit_max_punti | numeric(4,0) | NO | | Maximum score points for the education title. |
has_honors | anatit_lode | boolean | NO | | Indicates whether the education title was achieved with honors (lode). |
tenant_id | tenant_id | integer | YES | | Tenant identifier. |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | Custom fields in JSON format. |
_deleted | _deleted | boolean | YES | false | Technical soft delete flag. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_person_education_records_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_person_education_records → id
- Unique:
uk_person_education_records_record_id → person_education_record_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_pedu_tenant | NO | btree | tenant_id |
idx_pedu_tenant_person | NO | btree | tenant_id, person_id) WHERE (_deleted = false |
idx_pedu_tenant_record_id | NO | btree | tenant_id, person_education_record_id) WHERE (_deleted = false |
idx_pedu_tenant_title | NO | btree | tenant_id, education_title_id) WHERE (_deleted = false |
Navigation