Schema: hr
English table: hr._q_mail
Italian original table: hr._q_mail
Description: Internal configuration and control data for q mail.
Overview
- Columns: 16
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 3
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
qm_id | qm_id | integer | NO | | Identifier of the related qm record. |
qm_a | qm_a | text | NO | | Text value. |
qm_cc | qm_cc | text | NO | | Text value. |
qm_ccn | qm_ccn | text | NO | | Text value. |
qm_body | qm_body | text | NO | | Text value. |
qm_attachments | qm_attachments | text | NO | | Text value. |
qm_dt_create | qm_dt_create | character varying(14) | NO | | Text value. |
qm_dt_exe | qm_dt_exe | character varying(14) | NO | | Text value. |
qm_subject | qm_subject | character varying(150) | NO | | Text value. |
qm_smtp_id | qm_smtp_id | integer | NO | | Identifier of the related qm smtp record. |
qm_error_send | qm_error_send | character varying(500) | NO | | Text value. |
qm_eve_id | qm_eve_id | integer | NO | | Identifier of the related qm eve record. |
qm_doc_id | qm_doc_id | integer | NO | | Identifier of the related qm doc record. |
qm_usessl | qm_usessl | numeric(1,0) | NO | | Qm usessl. |
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:
_q_mail_pkey → id
- Unique:
k_qm_id_unique → qm_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx__q_mail_exe_tenant | NO | btree | tenant_id, qm_dt_exe |
idx__q_mail_tenant | NO | btree | tenant_id |
idx__q_mail_tenant1 | NO | btree | tenant_id, qm_id |
Navigation