Skip to main content

hr.competency_types

Schema: hr
English table: hr.competency_types
Italian original table: hr.competenze_tipi
Description: Lookup table for competency types (tenant-scoped).

Overview

  • Columns: 6
  • Primary key: id
  • Outgoing foreign keys: 1
  • Incoming foreign keys: 1
  • Indexes: 2

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
ctyp_idcompt_idintegerNOBusiness identifier of the competency type (unique per tenant).
ctyp_namecompt_denominazionecharacter varying(30)NOCompetency type name/label.
tenant_idtenant_idintegerYESTenant identifier.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields (JSON).
_deleted_deletedbooleanYESfalseSoft-delete flag.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

From tableForeign keySource columnsTarget columns
hr.competenciesfk_competencies_type_idcpt_competency_type_id, tenant_idctyp_id, tenant_id

Constraints

  • Primary key: pk_competency_typesid
  • Unique: uk_ctyp_tenant_ctypctyp_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_ctyp_tenantNObtreetenant_id
idx_ctyp_tenant_ctypNObtreetenant_id, ctyp_id) WHERE (_deleted = false