Difference between revisions of "Database Table: userinterests"

From Dreamwidth Notes
Jump to: navigation, search
m
m
Line 1: Line 1:
{{#set:name=logproplist|table type=global}}
+
{{#set: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 00:31, 5 October 2009

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