projects-jenz/jenz_ban_detector/mysql/create_db.sql
2024-03-30 21:16:28 +01:00

16 lines
506 B
SQL

-- ban_detector.ban_detector definition
CREATE TABLE `ban_detector` (
`fingerprint` varchar(512) DEFAULT NULL,
`ip` varchar(64) NOT NULL,
`steamid` varchar(64) NOT NULL,
`name` varchar(128) DEFAULT NULL,
`created_on` datetime DEFAULT current_timestamp(),
`modified_on` datetime DEFAULT NULL,
`last_connect` datetime DEFAULT NULL,
`disable_html_motd` int(11) DEFAULT 0,
PRIMARY KEY (`steamid`),
KEY `ip_index` (`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;