Difference between revisions of "Database Table: comminterests"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Changing Category:Database Tables)
m
Line 1: Line 1:
This table links community-type users to interests.
+
{{#set:name=comminterests}table type=global}}
 
+
[[Description::This table links community-type users to interests.]]
 
= Definition =
 
= Definition =
  
Line 11: Line 11:
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
= Relationships =
+
 
+
Foreign key userid to [[Database Table: user|user]].userid
+
 
+
Foreign key intid to [[Database Table: userinterests| userinterests]].intid
+
 
+
= Location =
+
 
+
[[Global database]]
+
 
+
[[Category:Database Tables Needing Conversion|comminterests]]
+

Revision as of 18:18, 5 October 2009

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