user_preferences

0 rows


Description

Client-defined preferences that should persist across browser sessions.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
user_id int8 19 null
users.id user_preferences_user_id_fkeyR
organization_id int8 19 null
organizations.id user_preferences_organization_id_fkeyC

If null, preferences are global to the user. Otherwise, they are specific to the user and the organization.

preferences jsonb 2147483647 null

Indexes

Constraint Name Type Sort Column(s)
user_preferences_user_id_idx Must be unique Asc user_id
user_preferences_user_id_organization_id_idx Must be unique Asc/Asc user_id + organization_id

Relationships