From 1fe14899aa808f50144162d6b14fc583873d08fc Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 29 Jun 2014 23:09:35 +0200 Subject: 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 --- upgrading/2.2.0.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 upgrading/2.2.0.txt (limited to 'upgrading/2.2.0.txt') diff --git a/upgrading/2.2.0.txt b/upgrading/2.2.0.txt new file mode 100644 index 0000000..1cdf2b0 --- /dev/null +++ b/upgrading/2.2.0.txt @@ -0,0 +1,16 @@ +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; +---- -- cgit v1.3.1