Database Table: sysban

From Dreamwidth Notes
Revision as of 07:06, 28 January 2010 by Exor674Bot (Talk | contribs)

Jump to: navigation, search

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

Definition

CREATE TABLE sysban (
    banid     MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
    PRIMARY KEY (banid),
    STATUS    ENUM('active','expired') NOT NULL DEFAULT 'active',
    INDEX     (STATUS),
    bandate   DATETIME,
    banuntil  DATETIME,
    what      VARCHAR(20) NOT NULL,
    VALUE     VARCHAR(80),
    note      VARCHAR(255)
)

Relationships