Schema: hr
English table: hr.x_period_types
Italian original table: hr.x_tipo_periodo
Description: Lookup table for time period frequencies (e.g., Monthly, Weekly, Yearly).
Overview
- Columns: 5
- 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. |
xpt_id | tipop_id | integer | NO | | Identifier of the related xpt record. |
xpt_description | tipop_descrizione | character varying(10) | NO | | Description text. |
xpt_sort_order | tipop_order | numeric(2,0) | NO | | Xpt 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_xpt_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_x_period_types → id
- Unique:
c_uk_xpt_id_tenant → xpt_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xpt_id_tenant_lookup | NO | btree | tenant_id, xpt_id |
idx_xpt_tenant_base | NO | btree | tenant_id |
Navigation