Database Table: comminterests

From Dreamwidth Notes
Revision as of 16:01, 22 July 2010 by Exor674Bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a global table. This table links community-type users to interests.

Definition

CREATE TABLE comminterests (
    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