Schema: hr
English table: hr.report_groups
Italian original table: hr.gruppi_reports
Description: Report groups used to categorize and organize reports.
Overview
- Columns: 6
- 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 | | Primary key of the record. |
rgrp_id | grrep_id | integer | NO | | Business identifier of the report group, unique within the tenant. |
rgrp_description | grrep_descrizione | character varying(50) | NO | | Report group description. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for row-level partitioning. |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | Custom fields in JSON format. |
_deleted | _deleted | boolean | YES | false | Soft delete flag. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_report_groups_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_report_groups → id
- Unique:
uk_report_groups_rgrp_id → rgrp_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_rgrp_tenant | NO | btree | tenant_id |
idx_rgrp_tenant_rgrp | NO | btree | tenant_id, rgrp_id) WHERE (_deleted = false |
Navigation