Add database schema for loginthrottle table (#1561)

Co-authored-by: Kirk Scheibelhut <kjs@google.com>

Co-authored-by: Kirk Scheibelhut <kjs@google.com>
This commit is contained in:
Annika 2020-07-19 15:38:12 -07:00 committed by GitHub
parent a1686e8bf2
commit b47c143b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
CREATE TABLE `ntbb_loginthrottle` (
`ip` varchar(63) COLLATE utf8mb4_bin NOT NULL,
`count` int(11) NOT NULL,
`lastuserid` varchar(63) COLLATE utf8mb4_bin NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`ip`),
KEY `count` (`count`),
KEY `time` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;