aurweb/upgrading/2.2.0.txt
Lukas Fleischer 1fe14899aa Split UPGRADING
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>
2014-06-29 23:10:45 +02:00

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;
----