mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Store banned IP addresses as plain text
Inspired by commit 32c8d0c
(Store last login address as plain text,
2016-03-13).
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
f8916d7e9b
commit
70db022aa8
3 changed files with 9 additions and 2 deletions
|
@ -376,7 +376,7 @@ CREATE TABLE IF NOT EXISTS TU_Votes (
|
|||
-- Malicious user banning
|
||||
--
|
||||
CREATE TABLE Bans (
|
||||
IPAddress INTEGER UNSIGNED NOT NULL DEFAULT 0,
|
||||
IPAddress VARCHAR(45) NULL DEFAULT NULL,
|
||||
BanTS TIMESTAMP NOT NULL,
|
||||
PRIMARY KEY (IPAddress)
|
||||
) ENGINE = InnoDB;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue