Skip to main content

hr.static_lists

Schema: hr
English table: hr.static_lists
Italian original table: hr.lista_static
Description: Definitions of static lists containing fixed sets of identifiers or values.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOInternal unique identifier (surrogate key).
list_code_idls_idintegerNOFunctional list identifier, unique within the tenant.
descriptionls_descrizionecharacter varying(50)NODescriptive name of the static list.
item_listls_elencotextNOContent of the list, typically a comma-separated string of IDs or values.
tenant_idtenant_idintegerYESTenant identifier for data isolation.
colcustomcolcustomjsonbYES'{}'::jsonbCustom metadata fields in JSON format.
_deleted_deletedbooleanYESfalseTechnical flag for soft delete.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_static_lists_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_static_listsid
  • Unique: uk_static_lists_code_tenantlist_code_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_sl_code_tenantNObtreetenant_id, list_code_id) WHERE (_deleted = false
idx_static_lists_tenantNObtreetenant_id