Skip to main content

pres.shift_planning_sort_order

Schema: pres
English table: pres.shift_planning_sort_order
Italian original table: pres.cartellino_turni_ordinamento
Description: Storage for custom display sorting of employees within the shift planning interface.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOIdentifier of the related record.
spso_idcarto_idintegerNOUnique identifier for the sorting record.
tenant_idtenant_idintegerNOIdentifier of the related tenant.
spso_employment_idcarto_rap_idintegerYESReference to the employee employment contract.
spso_sort_indexcarto_ordinamentointegerYESInteger value defining the display sequence (lower is first).

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_cartellino_turni_ordinamento_carto_rap_id_to_rapportitenant_id, spso_employment_idhr.employment_relationshipstenant_id, er_idRESTRICTCASCADE
fk_spso_tenanttenant_idcloud.tenantsten_internal_idCASCADECASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_shift_planning_sort_orderid
  • Unique: c_uk_spso_id_tenanttenant_id, spso_id

Indexes

NameUniqueMethodColumns / expression
idx_spso_employment_lookupNObtreetenant_id, spso_employment_id