Difference between revisions of "Database Table: userkeywords"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: Converting database table to use semantic mediawiki form.)
Line 1: Line 1:
{{#set:name=userkeywords|clustered=true}}
+
{{#set:name=userkeywords|table type=clustered}}
 
= Definition =
 
= Definition =
  

Revision as of 18:47, 2 October 2009

Definition

CREATE TABLE userkeywords (
    userid      INT(10) UNSIGNED NOT NULL DEFAULT '0',
    kwid        INT(10) UNSIGNED NOT NULL DEFAULT '0',
    keyword     VARCHAR(80) BINARY NOT NULL,
    PRIMARY KEY (userid, kwid),
    UNIQUE KEY  (userid, keyword)
)

Relationships