hr._app_config_employment
Schema: hr
English table: hr._app_config_employment
Italian original table: hr._config_app_dip
Description: Per-employment overrides for application configuration values (tenant-scoped).
Overview
- Columns: 6
- Primary key: id
- Outgoing foreign keys: 3
- Incoming foreign keys: 0
- Indexes: 3
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
ace_id | confappdi_id | integer | NO | | Logical override identifier (unique per tenant). |
ace_employment_relationship_id | confappdi_rap_id | integer | NO | | Reference to the employment relationship the override applies to. |
ace_app_config_id | confappdi_confapp_id | integer | NO | | Reference to the application configuration entry being overridden. |
ace_value | confappdi_value | character varying(50) | NO | | Override value for the configuration key (employment-specific). |
tenant_id | tenant_id | integer | YES | | Tenant identifier (multi-tenant isolation). |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_ace_app_config | ace_app_config_id, tenant_id | hr._app_config | apc_id, tenant_id | RESTRICT | RESTRICT |
fk_ace_employment_relationship | ace_employment_relationship_id, tenant_id | hr.employment_relationships | er_id, tenant_id | RESTRICT | CASCADE |
fk_ace_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
_app_config_employment_pkey → id
- Unique:
uk_ace_id_tenant → ace_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx__app_config_employment_tenant | NO | btree | tenant_id |
idx__app_config_employment_tenant_ace_id | NO | btree | tenant_id, ace_id |
idx__app_config_employment_tenant_er_apc | NO | btree | tenant_id, ace_employment_relationship_id, ace_app_config_id |
Navigation