Schema: hr
English table: hr.education_degrees
Italian original table: hr.titoli_studio
Description: Specific education degrees and certifications (e.g., Degree in Computer Science).
Overview
- Columns: 8
- Primary key: id
- Outgoing foreign keys: 2
- Incoming foreign keys: 0
- Indexes: 3
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
edu_id | stu_id | integer | NO | | Identifier of the related edu record. |
edu_name | stu_denominazione | character varying(60) | NO | | Display name for edu. |
edu_description | stu_descrizione | text | NO | | Description text. |
edu_degree_type_id | stu_stut_id | integer | NO | | Reference to the educational level/category (edt_id). |
tenant_id | tenant_id | integer | YES | | Tenant identifier for data isolation. |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | JSON payload containing additional attributes. |
_deleted | _deleted | boolean | YES | false | Flag indicating whether the record is soft-deleted. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_stu_stut_id | edu_degree_type_id, tenant_id | hr.education_degree_types | edt_id, tenant_id | RESTRICT | RESTRICT |
fk_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_education_degrees → id
- Unique:
uk_edu_id_tenant → edu_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_edu_degree_type_tenant | NO | btree | tenant_id, edu_degree_type_id) WHERE (_deleted = false |
idx_edu_id_tenant | NO | btree | tenant_id, edu_id) WHERE (_deleted = false |
idx_edu_tenant | NO | btree | tenant_id |
Navigation