mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add support for merge requests
This adds a new "Merge" category to the list of available request types and also adds a new "Merge into" field that is hidden via JavaScript when "Deletion" or "Orphan" is selected. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
959c61a77d
commit
91e6b5cb2f
7 changed files with 42 additions and 7 deletions
|
@ -297,6 +297,7 @@ CREATE TABLE RequestTypes (
|
|||
) ENGINE = InnoDB;
|
||||
INSERT INTO RequestTypes VALUES (1, 'deletion');
|
||||
INSERT INTO RequestTypes VALUES (2, 'orphan');
|
||||
INSERT INTO RequestTypes VALUES (3, 'merge');
|
||||
|
||||
-- Package requests
|
||||
--
|
||||
|
@ -305,6 +306,7 @@ CREATE TABLE PackageRequests (
|
|||
ReqTypeID TINYINT UNSIGNED NOT NULL,
|
||||
PackageBaseID INTEGER UNSIGNED NULL,
|
||||
PackageBaseName VARCHAR(255) NOT NULL,
|
||||
MergeBaseName VARCHAR(255) NULL,
|
||||
UsersID INTEGER UNSIGNED NULL DEFAULT NULL,
|
||||
Comments TEXT NOT NULL DEFAULT '',
|
||||
RequestTS BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue