Skip to main content

hr._fields_table

Schema: hr
English table: hr._fields_table
Italian original table: hr._fields_table
Description: Configuration table that defines how fields are displayed and rendered in table/list views.

Overview​

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

Columns​

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOPrimary key.
fldt_table_field_idfldt_idintegerNOConfiguration record identifier (unique per tenant).
fldt_field_codefldt_fld_idintegerNOReferenced field code (links to hr._fields.fld_field_code / legacy fld_code) within the tenant.
fldt_is_visiblefldt_visiblebooleanNOWhether the field/column is visible in table/list views.
fldt_display_orderfldt_ordernumeric(2,0)NODisplay order of the field/column in table/list views.
fldt_js_functionfldt_jsfunctiontextNOClient-side JavaScript function/expression used to render the field in a table/list view.
fldt_sort_modefldt_sortnumeric(1,0)NOSort behavior/mode for the column (stored as numeric).
fldt_column_widthfldt_widthcharacter varying(10)NOColumn width setting for table/list views.
tenant_idtenant_idintegerYESTenant identifier.

Relationships​

Outgoing foreign keys​

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk__fields_table_fieldfldt_field_code, tenant_idhr._fieldsfld_field_code, tenant_idRESTRICTRESTRICT
fk__fields_table_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by​

No incoming foreign keys found.

Constraints​

  • Primary key: pk__fields_table → id
  • Unique: uk__fields_table_tenant_table_field_id → fldt_table_field_id, tenant_id

Indexes​

NameUniqueMethodColumns / expression
idx_fldt_tenantNObtreetenant_id