Skip to content

EventNotification

EventNotification Schema

Description: One row per (event, recipient_user, channel-bundle).

The dispatcher creates these by fanning out matching subscriptions. Each
channel's delivery state is tracked separately so that, for example, an
email retry doesn't reset the in-app delivered timestamp.

Properties

Name Type Description
id Integer No description
event_id Integer No description
subscription_id Integer No description
recipient_user_id Integer No description
is_read Boolean No description
read_on DateTime (Optional) No description
is_deleted Boolean No description
created_on DateTime No description
in_app_delivered_on DateTime (Optional) No description
email_sent_on DateTime (Optional) No description
email_attempts Integer No description
email_last_error String(Unbounded) (Optional) No description
sms_sent_on DateTime (Optional) No description
sms_attempts Integer No description
sms_last_error String(Unbounded) (Optional) No description

Relationships

Relationship Name Type
event Event
subscription EventSubscription
recipient User