Schema: hr
English table: hr._log
Italian original table: hr._log
Description: Internal configuration and control data for log.
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. |
log_dt | log_dt | integer | NO | | Timestamp associated with the record. |
log_user_session | log_user_session | character varying(10) | NO | | Text value. |
log_ip | log_ip | character varying(20) | NO | | IP address associated with the event. |
log_username | log_username | character varying(30) | NO | | Text value. |
log_page | log_page | character varying(50) | NO | | Text value. |
log_oper_type | log_oper_type | character varying(10) | NO | | Text value. |
log_description | log_description | text | NO | | Description text. |
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_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
_log_pkey → id
- Unique:
k_log_dt_unique → log_dt, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx__log_tenant | NO | btree | tenant_id |
Navigation