Schema: hr
English table: hr.x_chart_types
Italian original table: hr.x_tipi_grafico
Description: Lookup table for chart visualization types (e.g., Pie, Bar, Line) for reporting dashboards.
Overview
- Columns: 6
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 2
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xct_id | xgra_id | integer | NO | | Identifier of the related xct record. |
xct_description | xgra_description | character varying(20) | NO | | Description text. |
xct_internal_name | xgra_type_chart | character varying(100) | NO | | Display name for xct internal. |
xct_sort_order | xgra_type_number | numeric(2,0) | NO | | Xct sort order. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for data isolation. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_xct_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_x_chart_types → id
- Unique:
c_uk_xct_id_tenant → xct_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xct_id_tenant_lookup | NO | btree | tenant_id, xct_id |
idx_xct_tenant_base | NO | btree | tenant_id |
Navigation