notification

-1 rows


Description

Table containing list of application notifications

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 null

Unique ID for each notification

notification_type varchar 1000 null

Type of the notification

application_id int4 10 null
application.id notification_application_id_fkey R

ID of the application this notification belongs to

json_data jsonb 2147483647 '{}'::jsonb

Additional data for the notification

email_record_id int4 10 null
email_record.id notification_email_record_id_fkey R

Column referencing the email record

created_by int4 10 null
ccbc_user.id notification_created_by_fkey R

created by user id

created_at timestamptz 35,6 now()

created at timestamp

updated_by int4 10 null
ccbc_user.id notification_updated_by_fkey R

updated by user id

updated_at timestamptz 35,6 now()

updated at timestamp

archived_by int4 10 null
ccbc_user.id notification_archived_by_fkey R

archived by user id

archived_at timestamptz 35,6 null

archived at timestamp

Indexes

Constraint Name Type Sort Column(s)
notification_pkey Primary key Asc id
ccbc_public_notification_archived_by_foreign_key Performance Asc archived_by
ccbc_public_notification_created_by_foreign_key Performance Asc created_by
ccbc_public_notification_updated_by_foreign_key Performance Asc updated_by

Relationships