Fixed schema

This commit is contained in:
Andrea Santaniello 2022-09-20 17:54:59 +02:00
parent 2cfd40cd3d
commit 13e7aaf090

View File

@ -11,9 +11,9 @@ CREATE TABLE `naughtylist` (
`geo` varchar(255) DEFAULT NULL `geo` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
ALTER TABLE `fail2ban` ALTER TABLE `naughtylist`
ADD PRIMARY KEY (`id`); ADD PRIMARY KEY (`id`);
ALTER TABLE `fail2ban` ALTER TABLE `naughtylist`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=0; MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=0;
COMMIT; COMMIT;