hr.training_course_certification_links
Schema: hr
English table: hr.training_course_certification_links
Italian original table: hr.corsi_certificazioni_link
Description: Links training courses to certifications that can be obtained or associated with the course.
Overview
- Columns: 7
- Primary key: id
- Outgoing foreign keys: 3
- Incoming foreign keys: 0
- Indexes: 4
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
tccl_id | corcel_id | integer | NO | | Business identifier of the course-certification link (unique per tenant). |
tccl_certification_id | corcel_corce_id | integer | NO | | Referenced certification identifier. |
tccl_course_id | corcel_cor_id | integer | NO | | Referenced training course identifier. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for row-level segregation. |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | Custom fields in JSON format. |
_deleted | _deleted | boolean | YES | false | Technical soft-delete flag (true = logically hidden). |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_training_course_certification_links_certification | tccl_certification_id, tenant_id | hr.training_certifications | tc_id, tenant_id | RESTRICT | RESTRICT |
fk_training_course_certification_links_course | tccl_course_id, tenant_id | hr.training_courses | tc_id, tenant_id | RESTRICT | RESTRICT |
fk_training_course_certification_links_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_training_course_certification_links → id
- Unique:
uk_training_course_certification_links_tccl_id → tccl_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_tccl_tenant | NO | btree | tenant_id |
idx_tccl_tenant_certification | NO | btree | tenant_id, tccl_certification_id) WHERE (_deleted = false |
idx_tccl_tenant_course | NO | btree | tenant_id, tccl_course_id) WHERE (_deleted = false |
idx_tccl_tenant_tccl_id | NO | btree | tenant_id, tccl_id) WHERE (_deleted = false |
Navigation