diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-08-31 18:29:06 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-11 22:14:26 +0200 |
commit | 396e50bdc88feae9d0048d1c3dab776388d96dc7 (patch) | |
tree | 27ba246621007f32e13cf1ad4bdcea756d93ef6d /upgrading | |
parent | 6b7e26a2d19c53438a9594ee3068f1afcdb1ee0d (diff) | |
download | aurweb-396e50bdc88feae9d0048d1c3dab776388d96dc7.tar.xz |
Require comments when flagging packages out-of-date
Implements FS#42827.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'upgrading')
-rw-r--r-- | upgrading/4.1.0.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/upgrading/4.1.0.txt b/upgrading/4.1.0.txt index c0bf573..e9545ff 100644 --- a/upgrading/4.1.0.txt +++ b/upgrading/4.1.0.txt @@ -8,10 +8,11 @@ ALTER TABLE PackageComments ADD FOREIGN KEY (EditedUsersID) REFERENCES Users(ID) ON DELETE SET NULL; ---- -2. Add a field to store the ID of the last user who flagged a package -out-of-date: +2. Add fields to store the ID and comment of the last user who flagged a +package out-of-date: ---- ALTER TABLE PackageBases - ADD COLUMN FlaggerUID BIGINT UNSIGNED NULL DEFAULT NULL; + ADD COLUMN FlaggerUID BIGINT UNSIGNED NULL DEFAULT NULL, + ADD COLUMN FlaggerComment VARCHAR(255) NOT NULL; ---- |