Difference between revisions of "Database Table: pendcomments"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=pendcomments|table type=clustered}}
+
{{Database Table|name=pendcomments|table type=clustered|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE pendcomments (
 
CREATE TABLE pendcomments (
  jid int(10) unsigned NOT NULL,
+
    jid int(10) unsigned NOT NULL,
  pendcid int(10) unsigned NOT NULL,
+
    pendcid int(10) unsigned NOT NULL,
  data blob NOT NULL,
+
    data blob NOT NULL,
  datesubmit int(10) unsigned NOT NULL,
+
    datesubmit int(10) unsigned NOT NULL,
  PRIMARY KEY (pendcid, jid),
+
 
  KEY (datesubmit)
+
    PRIMARY KEY (pendcid, jid),
 +
    KEY (datesubmit)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:58, 22 July 2010

This is a clustered table.

Definition

CREATE TABLE pendcomments (
    jid INT(10) UNSIGNED NOT NULL,
    pendcid INT(10) UNSIGNED NOT NULL,
    DATA BLOB NOT NULL,
    datesubmit INT(10) UNSIGNED NOT NULL,
 
    PRIMARY KEY (pendcid, jid),
    KEY (datesubmit)
)

Relationships