Difference between revisions of "Database Table: embedcontent"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: Updating: Format, definition)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=embedcontent|clustered=true}}
+
{{Database Table|name=embedcontent|table type=clustered|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE embedcontent (
 
CREATE TABLE embedcontent (
  userid    INT UNSIGNED NOT NULL,
+
    userid    INT UNSIGNED NOT NULL,
  moduleid  INT UNSIGNED NOT NULL,
+
    moduleid  INT UNSIGNED NOT NULL,
  content    TEXT,
+
    content    TEXT,
   PRIMARY KEY  (userid, moduleid)
+
    linktext   VARCHAR(255),
 +
    url        VARCHAR(255),
 +
 
 +
    PRIMARY KEY  (userid, moduleid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

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