Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| r_mailtext_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_client_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| ad_org_id | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| created | timestamp | 29,6 | now() |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | now() |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 60 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| ishtml | bpchar | 1 | 'N'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| mailheader | varchar | 2000 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| mailtext | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| mailtext2 | varchar | 2000 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| mailtext3 | varchar | 2000 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| r_mailtext_uu | varchar | 36 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_templatepadraopara | bpchar | 1 | √ | NULL::bpchar |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| r_mailtext_pkey | Primary key | Asc | r_mailtext_id |
| padrao_para_unico_por_org | Must be unique | Asc/Asc | ad_org_id + cof_templatepadraopara |
| r_mailtext_uu_idx | Must be unique | Asc | r_mailtext_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| r_mailtext_ishtml_check | ((ishtml = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| r_mailtext_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |