mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Require comments when flagging packages out-of-date
Implements FS#42827. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
6b7e26a2d1
commit
396e50bdc8
6 changed files with 27 additions and 12 deletions
|
@ -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;
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue