Skip to main content

hr._q_data_sync

Schema: hr
English table: hr._q_data_sync
Italian original table: hr._q_sincro_dati
Description: Technical queue table for inbound data synchronization events (raw payloads and processing status).

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
ds_sync_idsincro_idintegerNOSource synchronization identifier (unique per tenant).
ds_inserted_atsincro_dataora_inscharacter varying(14)NOInsertion timestamp in YYYYMMDDHH24MISS format (stored as text).
ds_tax_codesincro_cfcharacter varying(16)NOTax code (Codice Fiscale) associated with the synchronized data.
ds_source_tablesincro_tabellacharacter varying(50)NOName of the source table/entity for the synchronized data.
ds_payloadsincro_datitextNORaw synchronization payload.
ds_is_processedsincro_elaboratobooleanNOIndicates whether the synchronization event has been processed.
ds_result_codesincro_esitonumeric(1,0)NOProcessing result code (stored as numeric(1,0)).
ds_processed_atsincro_dataora_elaborazionecharacter varying(14)NOProcessing timestamp in YYYYMMDDHH24MISS format (stored as text).
ds_operationsincro_operazionetextNOOperation performed (as provided by the source).
ds_valid_onsincro_data_validitacharacter varying(8)NOValidity date in YYYYMMDD format (stored as text).
ds_employment_start_onsincro_data_inizio_rapportocharacter varying(8)NOEmployment start date in YYYYMMDD format (stored as text).
ds_company_codesincro_codice_aziendacharacter varying(10)NOCompany code provided by the source system.
tenant_idtenant_idintegerYESTenant identifier for row-level security and data partitioning.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_qds_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_q_data_syncid
  • Unique: uk_qds_sync_tenantds_sync_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_qds_tenantNObtreetenant_id