mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Split the upgrade instructions into several files, one file per version in order to keep them small, readable and to avoid merge conflicts. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
16 lines
325 B
Text
16 lines
325 B
Text
1. Add new "Users" table login IP address column:
|
|
|
|
----
|
|
ALTER TABLE Users
|
|
ADD COLUMN LastLoginIPAddress INTEGER UNSIGNED NOT NULL DEFAULT 0;
|
|
----
|
|
|
|
2. Add a new "Bans" table:
|
|
|
|
----
|
|
CREATE TABLE Bans (
|
|
IPAddress INTEGER UNSIGNED NOT NULL DEFAULT 0,
|
|
BanTS TIMESTAMP NOT NULL,
|
|
PRIMARY KEY (IPAddress)
|
|
) ENGINE = InnoDB;
|
|
----
|