Database Table: ml_items

From Dreamwidth Notes
Jump to: navigation, search

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

Relationships