From 2b909cb3f6e19d730cdd560fc1c5d11ddad431c1 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@archlinux.org>
Date: Fri, 22 May 2015 14:35:26 +0200
Subject: 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>
---
 schema/aur-schema.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'schema/aur-schema.sql')

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,
-- 
cgit v1.2.3-24-g4f1b

