Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | int4 | 10 | √ | null |
|
|
Unique ID for each email sent |
||||
to_email | varchar | 1000 | √ | null |
|
|
Email Address(es) of the recipients |
||||
cc_email | varchar | 1000 | √ | null |
|
|
Email Address(es) of the CC recipients |
||||
subject | varchar | 10000 | √ | null |
|
|
Subject of the email |
||||
body | varchar | 10000 | √ | null |
|
|
Body of the email |
||||
message_id | varchar | 1000 | √ | null |
|
|
Message ID of the email returned by the email server |
||||
json_data | jsonb | 2147483647 | '{}'::jsonb |
|
|
Additional data for the email |
|||||
created_by | int4 | 10 | √ | null |
|
|
created by user id |
||||
created_at | timestamptz | 35,6 | now() |
|
|
created at timestamp |
|||||
updated_by | int4 | 10 | √ | null |
|
|
updated by user id |
||||
updated_at | timestamptz | 35,6 | now() |
|
|
updated at timestamp |
|||||
archived_by | int4 | 10 | √ | null |
|
|
archived by user id |
||||
archived_at | timestamptz | 35,6 | √ | null |
|
|
archived at timestamp |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
email_record_pkey | Primary key | Asc | id |
ccbc_public_email_record_archived_by_foreign_key | Performance | Asc | archived_by |
ccbc_public_email_record_created_by_foreign_key | Performance | Asc | created_by |
ccbc_public_email_record_updated_by_foreign_key | Performance | Asc | updated_by |