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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| user_id | uuid | not null, references users.id | |
| type | notification_type | not null | |
| in_app | boolean | not null | |
| push | boolean | not null | |
| boolean | not null |
Relationships
notification_preferences.user_idreferencesusers.id