mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Save last login IP address
Save the IP address used for the last login in the "Users" table. This makes it a bit easier to create IP ban lists for spammers without looking at web server logs. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
de39a712b0
commit
5660816ea0
3 changed files with 13 additions and 1 deletions
10
UPGRADING
10
UPGRADING
|
@ -1,6 +1,16 @@
|
|||
Upgrading
|
||||
=========
|
||||
|
||||
From 2.1.0 to 2.2.0
|
||||
-------------------
|
||||
|
||||
1. Add new "Users" table login IP address column:
|
||||
|
||||
----
|
||||
ALTER TABLE Users
|
||||
ADD COLUMN LastLoginIPAddress INTEGER UNSIGNED NOT NULL DEFAULT 0;
|
||||
----
|
||||
|
||||
From 2.0.0 to 2.1.0
|
||||
-------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue