add support for application maintainers
This commit is contained in:
committed by
Jeremy Newman
parent
073acaff01
commit
c81eebd949
@@ -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)
|
||||
);
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user