diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-29 23:09:35 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-29 23:10:45 +0200 |
commit | 1fe14899aa808f50144162d6b14fc583873d08fc (patch) | |
tree | 9febba2c1876be4cd8f76c08e5a65b8697ddeee6 /upgrading/2.2.0.txt | |
parent | 5e49aca247a27dc0334e999dfb306e27ddbe99b9 (diff) | |
download | aur-1fe14899aa808f50144162d6b14fc583873d08fc.tar.gz aur-1fe14899aa808f50144162d6b14fc583873d08fc.tar.xz |
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>
Diffstat (limited to 'upgrading/2.2.0.txt')
-rw-r--r-- | upgrading/2.2.0.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/upgrading/2.2.0.txt b/upgrading/2.2.0.txt new file mode 100644 index 00000000..1cdf2b01 --- /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; +---- |