- remove outdated table definitions from maintainers.sql

- move appMaintainerQueue appMaintainers table definition from appdb_tables.sql to maintainers.sql
- remove duplicated table definitions from appdb_tables.sql
This commit is contained in:
Jonathan Ernst
2004-12-14 02:36:49 +00:00
committed by WineHQ
parent dd61058e60
commit ebcb5254d2
2 changed files with 21 additions and 43 deletions

View File

@@ -3,21 +3,32 @@ use apidb;
drop table if exists appMaintainerQueue;
drop table if exists appMaintainers;
/*
* 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,
superMaintainer bool,
submitTime datetime,
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,
superMaintainer bool,
submitTime datetime,
key(queueId)
);
create table appMaintainers (
maintainerId int not null auto_increment,
appId int,
versionId int,
userId int,
submitTime timestamp,
key(maintainerId)
);