created_at |
timestamp with time zone |
now() |
false |
|
|
Timestamp when the record was created. |
deleted_at |
timestamp with time zone |
|
true |
|
|
Timestamp when the record was deleted. If null, the record is not deleted. |
email_template_id |
uuid |
|
false |
|
public.email_templates |
The email template that is being sent in this email delivery. |
error |
varchar(255) |
NULL::character varying |
true |
|
|
If null, no error has occurred with sending. Otherwise the field contains the error as a string. |
id |
uuid |
uuid_generate_v4() |
false |
|
|
A unique, stable identifier for the record. |
sent |
boolean |
false |
false |
|
|
Whether the email was sent or not. If false, a background daemon will try to send this email message. |
updated_at |
timestamp with time zone |
now() |
false |
|
|
Timestamp when the record was last updated. The field is updated automatically by the set_timestamp trigger. |
user_id |
uuid |
|
false |
|
public.users |
The user to whom the email should be sent to. If the email template contains dynamic portions with user-specific information (like a grade from a course) this user_id will be used to derive the information. |