user_interests


Description

Associates users with user interests (which are stored in the controlled vocabulary tables).

Columns

Column Type Size Nulls Auto Default Children Parents Comments
user_interest_id BIGINT UNSIGNED 20 null
user_id BIGINT 19 null
users.user_id user_interests_user_id_foreignC
controlled_vocab_entry_id BIGINT 19 null
controlled_vocab_entries.controlled_vocab_entry_id user_interests_controlled_vocab_entry_id_foreignC

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc user_interest_id
u_e_pkey Must be unique Asc/Asc user_id + controlled_vocab_entry_id
user_interests_controlled_vocab_entry_id Performance Asc controlled_vocab_entry_id
user_interests_user_id Performance Asc user_id

Relationships