Fixed schema
This commit is contained in:
parent
2cfd40cd3d
commit
13e7aaf090
|
@ -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;
|
Loading…
Reference in New Issue
Block a user