-- -- Table structure for table `blacklist` -- DROP TABLE IF EXISTS `blacklist`; CREATE TABLE `blacklist` ( `ip` int(4) unsigned NOT NULL, PRIMARY KEY (`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Table structure for table `clients` -- DROP TABLE IF EXISTS `clients`; CREATE TABLE `clients` ( `token` varchar(255) NOT NULL DEFAULT '', `role` varchar(255) DEFAULT '', `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Table structure for table `delist` -- DROP TABLE IF EXISTS `delist`; CREATE TABLE `delist` ( `ip` int(4) unsigned NOT NULL, `count` int(10) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Table structure for table `list` -- DROP TABLE IF EXISTS `list`; CREATE TABLE `list` ( `ip` int(4) unsigned NOT NULL, PRIMARY KEY (`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Table structure for table `stats` -- DROP TABLE IF EXISTS `stats`; CREATE TABLE `stats` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `time` datetime DEFAULT current_timestamp(), `ip` int(4) unsigned NOT NULL, `action` varchar(16) DEFAULT 'set', `token` varchar(255) NOT NULL, PRIMARY KEY (`id`), KEY `ip` (`ip`) ) ENGINE=InnoDB AUTO_INCREMENT=205 DEFAULT CHARSET=utf8mb4; -- -- Table structure for table `whitelist` -- DROP TABLE IF EXISTS `whitelist`; CREATE TABLE `whitelist` ( `ip` int(4) unsigned NOT NULL, PRIMARY KEY (`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;