diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-22 14:35:26 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-22 17:09:26 +0200 |
commit | 2b909cb3f6e19d730cdd560fc1c5d11ddad431c1 (patch) | |
tree | ad287dec926d934e25404892992b6fbd7045dc95 /schema | |
parent | 2db1a559226b64c8c424b9ce8aaa17b4cac219ec (diff) | |
download | aur-2b909cb3f6e19d730cdd560fc1c5d11ddad431c1.tar.gz aur-2b909cb3f6e19d730cdd560fc1c5d11ddad431c1.tar.xz |
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>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/aur-schema.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql index 9c647d8b..5641d0d1 100644 --- a/schema/aur-schema.sql +++ b/schema/aur-schema.sql @@ -281,6 +281,7 @@ CREATE TABLE PackageComments ( 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, |