added indexing on IP
This commit is contained in:
parent
61617df2f5
commit
74accb4b9d
@ -1,3 +1,4 @@
|
|||||||
|
-- ban_detector.ban_detector definition
|
||||||
CREATE TABLE `ban_detector` (
|
CREATE TABLE `ban_detector` (
|
||||||
`fingerprint` varchar(512) DEFAULT NULL,
|
`fingerprint` varchar(512) DEFAULT NULL,
|
||||||
`ip` varchar(64) NOT NULL,
|
`ip` varchar(64) NOT NULL,
|
||||||
@ -7,5 +8,8 @@ CREATE TABLE `ban_detector` (
|
|||||||
`modified_on` datetime DEFAULT NULL,
|
`modified_on` datetime DEFAULT NULL,
|
||||||
`last_connect` datetime DEFAULT NULL,
|
`last_connect` datetime DEFAULT NULL,
|
||||||
`disable_html_motd` int(11) DEFAULT 0,
|
`disable_html_motd` int(11) DEFAULT 0,
|
||||||
PRIMARY KEY (`steamid`)
|
PRIMARY KEY (`steamid`),
|
||||||
|
KEY `ip_index` (`ip`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user