Difference between revisions of "Database Table: ml items"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) (Robot: Updating: Format, needs desc, definition) |
Exor674Bot (Talk | contribs) m (Robot: Updating: Format, definition) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Database Table|name=ml_items|table type=global|need desc=1}} | + | {{Database Table|name=ml_items|table type=global|need desc=1|repo=dw-free}} |
= Definition = | = Definition = | ||
<source lang="sql"> | <source lang="sql"> | ||
Line 14: | Line 14: | ||
visible TINYINT NOT NULL DEFAULT 0, -- also boolean | visible TINYINT NOT NULL DEFAULT 0, -- also boolean | ||
notes MEDIUMTEXT | notes MEDIUMTEXT | ||
− | ) | + | ) ENGINE=MYISAM |
</source> | </source> | ||
{{Database Table Footer}} | {{Database Table Footer}} |
Latest revision as of 23:07, 28 November 2012
This is a global table.
Definition
CREATE TABLE ml_items ( dmid TINYINT UNSIGNED NOT NULL, itid MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL, PRIMARY KEY (dmid, itid), itcode VARCHAR(80) NOT NULL, UNIQUE (dmid, itcode), proofed TINYINT NOT NULL DEFAULT 0, -- boolean, really INDEX (proofed), updated TINYINT NOT NULL DEFAULT 0, -- boolean, really INDEX (updated), visible TINYINT NOT NULL DEFAULT 0, -- also boolean notes MEDIUMTEXT ) ENGINE=MYISAM