add support for application maintainers

This commit is contained in:
Chris Morgan
2004-11-09 22:41:18 +00:00
committed by Jeremy Newman
parent 073acaff01
commit c81eebd949
14 changed files with 793 additions and 38 deletions

View File

@@ -19,6 +19,7 @@ drop table if exists appBundle;
drop table if exists appVotes;
drop table if exists appRating;
drop table if exists appNotes;
drop table if exists appMaintainers;
drop table if exists sessionMessages;
@@ -244,6 +245,36 @@ create table appNotes (
key(noteId)
);
/*
* List of the application maintainers. These users have the rights
* to delete comments, edit the application description and otherwise
* care for an application.
*/
create table appMaintainers (
maintainerId int not null auto_increment,
appId int,
versionId int,
userId int,
submitTime timestamp,
key(maintainerId)
);
/*
* Queue where users names will go if they request to become an application
* maintainer. This includes the reason they want to become a maintainer.
*/
create table appMaintainerQueue (
queueId int not null auto_increment,
appId int,
versionId int,
userId int,
maintainReason text,
submitTime timestamp,
key(queueId)
);
/*
*
*/