Difference between revisions of "Database Table: embedcontent"

From Dreamwidth Notes
Jump to: navigation, search
m (reformat, right category)
m (Robot: Updating: Format, definition)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{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}}
= Relationships =
+
 
+
= Location =
+
 
+
[[Clustered database]]
+
 
+
[[Category: Database Tables|embedcontent]]
+

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