Skip to main content

pres.counter_groups

Schema: pres
English table: pres.counter_groups
Italian original table: pres.tab_cont_grp
Description: Definitions of counter groups used to categorize different types of attendance metrics (e.g., Leave, Overtime, Presence).

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOPrimary Key.
cg_group_idcntg_idintegerNOInternal unique identifier for the counter group.
tenant_idtenant_idintegerNOTenant identifier for data isolation.
cg_descriptioncntg_descrizionecharacter(40)NO''::bpcharHuman-readable name of the counter group.
cg_notescntg_commentotextNO''::textExtended description or technical notes about the group.
cg_sort_ordercntg_ordernumeric(3,0)NO0Numerical value used to determine the display order in reports or UI.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_cg_tenanttenant_idcloud.tenantsten_internal_idCASCADECASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_counter_groupsid
  • Unique: c_uk_cg_tenant_group_idtenant_id, cg_group_id

Indexes

NameUniqueMethodColumns / expression
idx_cg_tenant_group_idNObtreetenant_id, cg_group_id