From 59924742c8527a8b2589cbfe38ffe201f6ea18ec Mon Sep 17 00:00:00 2001 From: Jeremy Newman Date: Tue, 9 Nov 2004 22:55:47 +0000 Subject: [PATCH] added maintainers tables --- tables/create_tables | 3 +++ tables/maintainers.sql | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tables/maintainers.sql diff --git a/tables/create_tables b/tables/create_tables index a518d65..2cbf435 100644 --- a/tables/create_tables +++ b/tables/create_tables @@ -20,3 +20,6 @@ mysql -u root < session_list.sql echo Adding categories mysql -u root < app_category.sql + +echo Adding maintainers +mysql -u root < maintainers.sql diff --git a/tables/maintainers.sql b/tables/maintainers.sql new file mode 100644 index 0000000..22d2c97 --- /dev/null +++ b/tables/maintainers.sql @@ -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) +);