Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
Primary Key. |
||
| subject | varchar | 255 | null |
|
|
Email subject. |
||
| note | text | 2147483647 | null |
|
|
Content of email. |
||
| senderId | uuid | 2147483647 | null |
|
|
Foreign key to User table, indicating Sender. |
||
| receiverIds | jsonb | 2147483647 | null |
|
|
Foreign key to User table, indicating Recipient. |
||
| ccIds | jsonb | 2147483647 | √ | null |
|
|
Foreign key to User table, indicating users to CC. |
|
| bccIds | jsonb | 2147483647 | √ | null |
|
|
Foreign key to User table, indicating users to BCC. |
|
| analytics | jsonb | 2147483647 | √ | null |
|
|
Additional data about the context of the email sent, including CompanyId and JobId. |
|
| headers | jsonb | 2147483647 | √ | null |
|
|
Headers of the API request to trigger, for future analysis. |
|
| createdAt | timestamptz | 35,6 | null |
|
|
Entry creation date |
||
| updatedAt | timestamptz | 35,6 | null |
|
|
Datetime of last modification to any attribute |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| Messages_pkey | Primary key | Asc | id |
