notification_preferences table

The notification_preferences table in the Social Media Database Schema schema has 5 columns, with 1 foreign key to users.

One row per user per notification type. Absent row means fall back to the product default.

Columns (5)

Columns of the notification_preferences table
ColumnTypeConstraintsDescription
user_iduuidnot null, references users.id
typenotification_typenot null
in_appbooleannot null
pushbooleannot null
emailbooleannot null

Relationships

  • notification_preferences.user_id references users.id