Database Table: userinterests

From Dreamwidth Notes
Revision as of 18:18, 5 October 2009 by Exor674 (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

Outgoing

  • Foreign key: intid to interests.intid
  • Foreign key: userid to user.userid