Schema: hr
English table: hr.work_site_stations
Italian original table: hr.sedi_postazioni_lavoro
Description: Specific work stations or desks located within a work site.
Overview
- Columns: 9
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 1
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
wss_id | sepl_id | integer | NO | | Identifier of the related wss record. |
wss_work_site_id | sepl_sede_id | integer | NO | | Identifier of the related wss work site record. |
wss_name | sepl_nome | character varying(100) | NO | | Display name for wss. |
wss_notes | sepl_note | text | NO | | Free-form notes. |
wss_abbreviation | sepl_abbr | character varying(10) | NO | | Text value. |
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. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_work_site_stations → id
- Unique:
uk_wss_id_tenant → wss_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_wss_tenant | NO | btree | tenant_id |
Navigation