Skip to main content

hr.fitness_types

Schema: hr
English table: hr.fitness_types
Italian original table: hr.idoneita
Description: Fitness and work suitability types used for medical examinations and job requirement mappings.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOPrimary key of the record.
fit_idido_idintegerNOBusiness identifier of the fitness type, unique within the tenant.
fit_titleido_titlecharacter varying(50)NOFitness type title.
fit_descriptionido_descriptiontextNODetailed description of the fitness type.
tenant_idtenant_idintegerYESTenant identifier for row-level partitioning.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields in JSON format.
_deleted_deletedbooleanYESfalseSoft delete flag.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_fitness_types_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

From tableForeign keySource columnsTarget columns
hr.job_role_suitability_requirementsfk_jrsr_suitability_typejrsr_suitability_type_code_id, tenant_idfit_id, tenant_id
hr.visite_mediche_linkfk_vml_ido_idvml_ido_id, tenant_idfit_id, tenant_id

Constraints

  • Primary key: pk_fitness_typesid
  • Unique: uk_fitness_types_fit_idfit_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_fit_tenantNObtreetenant_id
idx_fit_tenant_fitNObtreetenant_id, fit_id) WHERE (_deleted = false