Difference between revisions of "Database Table: embedcontent"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc, definition)
m (Robot: Updating: Format, definition)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=embedcontent|table type=clustered|need desc=1}}
+
{{Database Table|name=embedcontent|table type=clustered|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">
Line 6: Line 6:
 
     moduleid  INT UNSIGNED NOT NULL,
 
     moduleid  INT UNSIGNED NOT NULL,
 
     content    TEXT,
 
     content    TEXT,
 +
    linktext  VARCHAR(255),
 +
    url        VARCHAR(255),
  
 
     PRIMARY KEY  (userid, moduleid)
 
     PRIMARY KEY  (userid, moduleid)

Latest revision as of 04:35, 11 June 2013

This is a clustered table.

Definition

CREATE TABLE embedcontent (
    userid     INT UNSIGNED NOT NULL,
    moduleid   INT UNSIGNED NOT NULL,
    content    TEXT,
    linktext   VARCHAR(255),
    url        VARCHAR(255),
 
    PRIMARY KEY  (userid, moduleid)
)

Relationships