mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
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:
parent
a1686e8bf2
commit
b47c143b79
9
lib/ntbb-loginthrottle.sql
Normal file
9
lib/ntbb-loginthrottle.sql
Normal 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;
|
||||
Loading…
Reference in New Issue
Block a user