MWX/SpamFerret/tables/client

From Woozle Writes Code
< MWX‎ | SpamFerret‎ | tables
Revision as of 17:24, 5 August 2009 by Woozle (talk | contribs) (Created page with '==SQL== <mysql>CREATE TABLE `clients` ( `ID` INT NOT NULL AUTO_INCREMENT, `Address` VARCHAR(15) COMMENT 'IP address', `WhenFirst` DATETIME …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SQL

<mysql>CREATE TABLE `clients` (

 `ID` INT NOT NULL AUTO_INCREMENT,
 `Address`   VARCHAR(15)               COMMENT 'IP address',
 `WhenFirst` DATETIME                  COMMENT 'when this IP address first submitted a spam',
 `WhenLast`  DATETIME                  COMMENT 'when this IP address last submitted a spam',
 `Retries`   INT DEFAULT NULL          COMMENT 'number of spam retries',
 `Count`     INT DEFAULT 0             COMMENT 'number of attempts',
 `doBlock`   TINYINT(1)                COMMENT "TRUE = permanent block",
 `Notes`     VARCHAR(255) DEFAULT NULL COMMENT "human-added notes",
 PRIMARY KEY(`ID`)

) ENGINE = MYISAM;</mysql>