added maintainers tables
This commit is contained in:
@@ -20,3 +20,6 @@ mysql -u root < session_list.sql
|
|||||||
|
|
||||||
echo Adding categories
|
echo Adding categories
|
||||||
mysql -u root < app_category.sql
|
mysql -u root < app_category.sql
|
||||||
|
|
||||||
|
echo Adding maintainers
|
||||||
|
mysql -u root < maintainers.sql
|
||||||
|
|||||||
23
tables/maintainers.sql
Normal file
23
tables/maintainers.sql
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
use apidb;
|
||||||
|
|
||||||
|
drop table if exists appMaintainerQueue;
|
||||||
|
drop table if exists appMaintainers;
|
||||||
|
|
||||||
|
create table appMaintainerQueue (
|
||||||
|
queueId int not null auto_increment,
|
||||||
|
appId int,
|
||||||
|
versionId int,
|
||||||
|
userId int,
|
||||||
|
maintainReason text,
|
||||||
|
submitTime timestamp,
|
||||||
|
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