Database Table: userinterests

From Dreamwidth Notes
Revision as of 10:22, 4 April 2009 by Dreamnestia (Talk | contribs)

Jump to: navigation, search

This table associated userIDs to interests. See also commInterests

Definition

CREATE TABLE userinterests (
  userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  intid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY  (userid,intid),
  KEY (intid)
)

Relationships

Foreign key userid to user.userid

Foreign key intid to interests.intid

Location

Global database