Schema: hr
English table: hr.x_user_types
Italian original table: hr.x_tipi_utenti
Description: Lookup table for user categories and roles (e.g., Employee, Manager, HR Admin).
Overview
- Columns: 6
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 1
- Indexes: 2
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xut_id | tut_id | integer | NO | | Identifier of the related xut record. |
xut_name | tut_denominazione | character varying(40) | NO | | Display name for xut. |
xut_category | tut_type | character varying(10) | NO | | Text value. |
xut_language_id | tut_lng | integer | NO | | Identifier of the related xut language record. |
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_xut_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
| From table | Foreign key | Source columns | Target columns |
|---|
hr.user_profiles | fk_upr_user_type | upr_user_type_id, tenant_id | xut_id, tenant_id |
Constraints
- Primary key:
pk_x_user_types → id
- Unique:
c_uk_xut_id_tenant → xut_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xut_id_tenant_lookup | NO | btree | tenant_id, xut_id |
idx_xut_tenant_base | NO | btree | tenant_id |
Navigation