Skip to content

Commit

Permalink
update blacklist table
Browse files Browse the repository at this point in the history
  • Loading branch information
fghrsh committed Oct 29, 2022
1 parent f5a2fd5 commit 52f1d01
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tools/wxwclub.sql
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,14 @@ CREATE TABLE `queues` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE `blacklist` (
`id` int NOT NULL AUTO_INCREMENT,
`target` varchar(255) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
`timestamp` int DEFAULT NULL,
PRIMARY KEY (`target`)
`create` int DEFAULT NULL,
`timestamp` int NOT NULL DEFAULT '0',
`inuse` tinyint NOT NULL DEFAULT '0',
`retry` smallint NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `target` (`target`),
KEY `timestamp` (`timestamp`),
KEY `inuse` (`inuse`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

0 comments on commit 52f1d01

Please sign in to comment.