- 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:
@@ -19,8 +19,6 @@ drop table if exists appBundle;
|
|||||||
drop table if exists appVotes;
|
drop table if exists appVotes;
|
||||||
drop table if exists appRating;
|
drop table if exists appRating;
|
||||||
drop table if exists appNotes;
|
drop table if exists appNotes;
|
||||||
drop table if exists appMaintainers;
|
|
||||||
drop table if exists appMaintainerQueue;
|
|
||||||
drop table if exists sessionMessages;
|
drop table if exists sessionMessages;
|
||||||
|
|
||||||
|
|
||||||
@@ -247,37 +245,6 @@ create table appNotes (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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,
|
|
||||||
superMaintainer bool,
|
|
||||||
submitTime datetime,
|
|
||||||
key(queueId)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -3,21 +3,32 @@ use apidb;
|
|||||||
drop table if exists appMaintainerQueue;
|
drop table if exists appMaintainerQueue;
|
||||||
drop table if exists appMaintainers;
|
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 (
|
create table appMaintainerQueue (
|
||||||
queueId int not null auto_increment,
|
queueId int not null auto_increment,
|
||||||
appId int,
|
appId int,
|
||||||
versionId int,
|
versionId int,
|
||||||
userId int,
|
userId int,
|
||||||
maintainReason text,
|
maintainReason text,
|
||||||
submitTime timestamp,
|
superMaintainer bool,
|
||||||
|
submitTime datetime,
|
||||||
key(queueId)
|
key(queueId)
|
||||||
);
|
);
|
||||||
|
|
||||||
create table appMaintainers (
|
|
||||||
maintainerId int not null auto_increment,
|
|
||||||
appId int,
|
|
||||||
versionId int,
|
|
||||||
userId int,
|
|
||||||
submitTime timestamp,
|
|
||||||
key(maintainerId)
|
|
||||||
);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user