Difference between revisions of "Database Table: comminterests"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Changing Category:Database Tables)
Line 22: Line 22:
 
[[Global database]]
 
[[Global database]]
  
[[Category: Database Tables|comminterests]]
+
[[Category:Database Tables Needing Conversion|comminterests]]

Revision as of 14:01, 2 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

Foreign key userid to user.userid

Foreign key intid to userinterests.intid

Location

Global database