Database Table: statushistory

From Dreamwidth Notes
Revision as of 15:58, 22 July 2010 by Exor674Bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a global table.

Definition

CREATE TABLE statushistory (
    userid    INT UNSIGNED NOT NULL,
    adminid   INT UNSIGNED NOT NULL,
    shtype    VARCHAR(20) NOT NULL,
    shdate    TIMESTAMP NOT NULL,
    notes     TEXT,
 
    INDEX (userid, shdate),
    INDEX (adminid, shdate),
    INDEX (adminid, shtype, shdate),
    INDEX (shtype, shdate)
)

Relationships