Difference between revisions of "Database Table: userinterests"

From Dreamwidth Notes
Jump to: navigation, search
m
m (Robot: Converting database table to use database table header template.)
Line 1: Line 1:
{{#set:name=userinterests|table type=global}}
+
{{Database Table|name=userinterests|table type=global}}
 
[[Description::This table associated userIDs to interests.]] See also [[Database Table: comminterests|comminterests]]
 
[[Description::This table associated userIDs to interests.]] See also [[Database Table: comminterests|comminterests]]
 
= Definition =
 
= Definition =

Revision as of 11:34, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table. 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