Difference between revisions of "Database Table: ml text"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=ml_text|table type=global}}
+
{{Database Table|name=ml_text|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
CREATE TABLE ml_text
+
CREATE TABLE ml_text (
(
+
    dmid  TINYINT UNSIGNED NOT NULL,
  dmid  TINYINT UNSIGNED NOT NULL,
+
    txtid  INT UNSIGNED AUTO_INCREMENT NOT NULL,
  txtid  INT UNSIGNED AUTO_INCREMENT NOT NULL,
+
    PRIMARY KEY (dmid, txtid),
  PRIMARY KEY (dmid, txtid),
+
    lnid  SMALLINT UNSIGNED NOT NULL,
  lnid  SMALLINT UNSIGNED NOT NULL,
+
    itid  SMALLINT UNSIGNED NOT NULL,
  itid  SMALLINT UNSIGNED NOT NULL,
+
    INDEX (lnid, dmid, itid),
  INDEX (lnid, dmid, itid),
+
    text    TEXT NOT NULL,
  text    TEXT NOT NULL,
+
    userid  INT UNSIGNED NOT NULL
  userid  INT UNSIGNED NOT NULL
+
 
) TYPE=MYISAM
 
) TYPE=MYISAM
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:01, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.

Definition

CREATE TABLE ml_text (
    dmid  TINYINT UNSIGNED NOT NULL,
    txtid  INT UNSIGNED AUTO_INCREMENT NOT NULL,
    PRIMARY KEY (dmid, txtid),
    lnid   SMALLINT UNSIGNED NOT NULL,
    itid   SMALLINT UNSIGNED NOT NULL,
    INDEX (lnid, dmid, itid),
    text    TEXT NOT NULL,
    userid  INT UNSIGNED NOT NULL
) TYPE=MYISAM

Relationships