Schema: hr
English table: hr.x_reference_doc_types
Italian original table: hr.x_tipo_docrif
Description: Lookup table for reference or internal policy document types.
Overview
- Columns: 4
- 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. |
xrdt_id | tdocrif_id | integer | NO | | Identifier of the related xrdt record. |
xrdt_description | tdocrif_description | character varying(50) | NO | | Description text. |
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_xrdt_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_x_reference_doc_types → id
- Unique:
c_uk_xrdt_id_tenant → xrdt_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xrdt_id_tenant_lookup | NO | btree | tenant_id, xrdt_id |
idx_xrdt_tenant_base | NO | btree | tenant_id |
Navigation