hr.rapporti_posizioni_inps
Schema: hr
English table: hr.rapporti_posizioni_inps
Italian original table: hr.rapporti_posizioni_inps
Description: Records for rapporti posizioni inps.
Overview
- Columns: 10
- Primary key: id
- Outgoing foreign keys: 3
- Incoming foreign keys: 0
- Indexes: 6
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|---|---|---|---|---|
id | id | integer | NO | Surrogate primary key. | |
rapposinps_id | rapposinps_id | integer | NO | Identifier of the related rapposinps record. | |
rapposinps_rap_id | rapposinps_rap_id | integer | NO | Identifier of the related rapposinps rap record. | |
rapposinps_xposinps_id | rapposinps_xposinps_id | integer | NO | Identifier of the related rapposinps xposinps record. | |
rapposinps_dal | rapposinps_dal | date | NO | Rapposinps dal. | |
tenant_id | tenant_id | integer | YES | Tenant identifier for data isolation. | |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | JSON payload containing additional attributes. |
_deleted | _deleted | boolean | YES | false | Flag indicating whether the record is soft-deleted. |
rapposinps_al | rapposinps_al | date | YES | Rapposinps al. | |
rapposinps_periodo | rapposinps_periodo | daterange | YES | GENERATED: daterange(rapposinps_dal, rapposinps_al, '[]'::text) | Rapposinps periodo. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|---|---|---|---|---|
fk_rapposinps_xposinps_id | rapposinps_xposinps_id, tenant_id | hr.x_inps_positions | xisp_id, tenant_id | RESTRICT | RESTRICT |
fk_rapposinsp_rap_id | rapposinps_rap_id, tenant_id | hr.employment_relationships | er_id, tenant_id | RESTRICT | CASCADE |
fk_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
rapporti_posizioni_inps_pkey→id - Unique:
k_rapposinps_id_unique→rapposinps_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|---|---|---|
idx_rapporti_posizioni_inps_rapposinps_id_tenant | NO | btree | tenant_id, rapposinps_id) WHERE (_deleted = false |
idx_rapporti_posizioni_inps_rapposinps_rap_id_tenant | NO | btree | tenant_id, rapposinps_rap_id) WHERE (_deleted = false |
idx_rapporti_posizioni_inps_rapposinps_xposinps_id_tenant | NO | btree | tenant_id, rapposinps_xposinps_id) WHERE (_deleted = false |
idx_rapporti_posizioni_inps_tenant | NO | btree | tenant_id |
idx_rapporti_posizioni_inps_tenant_rapposinps_periodo_gist | NO | gist | tenant_id, rapposinps_periodo) WHERE (_deleted = false |
idx_rapporti_posizioni_inps_tenant_rapposinps_periodo_rap_gist | NO | gist | tenant_id, rapposinps_rap_id, rapposinps_periodo) WHERE (_deleted = false |
Navigation
- Back to main index
- [Back to
hrindex]../)