mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Store co-maintainer priorities
In addition to saving the list of package co-maintainers, also save their order. This makes it possible to define a "primary" co-maintainer. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
2db1a55922
commit
2b909cb3f6
3 changed files with 7 additions and 2 deletions
|
@ -26,6 +26,7 @@ UPDATE PackageBases SET PackagerUID = NULL;
|
|||
CREATE TABLE PackageComaintainers (
|
||||
UsersID INTEGER UNSIGNED NOT NULL,
|
||||
PackageBaseID INTEGER UNSIGNED NOT NULL,
|
||||
Priority INTEGER UNSIGNED NOT NULL,
|
||||
INDEX (UsersID),
|
||||
INDEX (PackageBaseID),
|
||||
FOREIGN KEY (UsersID) REFERENCES Users(ID) ON DELETE CASCADE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue