MWX/SpamFerret/tables/pattern archive
< MWX | SpamFerret | tables
Jump to navigation
Jump to search
About
- History:
- 2009-08-05 Created for Special:SpamFerret
SQL
<mysql>CREATE TABLE `pattern_archive` (
`ID` INT NOT NULL AUTO_INCREMENT, `ID_Pattern` INT NOT NULL COMMENT "patterns.ID", `isURL` TINYINT(1) COMMENT "TRUE indicates that additional URL-related stats may be collected", `isRegex` TINYINT(1) COMMENT "TRUE = regex (use preg_match()); FALSE = normal string comparison (use stristr())", `isDiff` TINYINT(1) DEFAULT FALSE COMMENT "TRUE = pattern should be compared to the diff, not the edit contents", `Count` INT DEFAULT 0 COMMENT "number of attempts", PRIMARY KEY(`ID`)
) ENGINE = MYISAM;</mysql>