* convert queue to state columns Changed column name from queue to state and changed enum from ('true','false') to ('accepted','queued') in buglinks.sql Changed column name from queue to state and changed enum from ('true','false','rejected','pending') to ('accepted','queued','pending') in maintainers.sql Changed field superMaintainer from bool to tinyint(1) in maintainers.sql
This commit is contained in:
committed by
Chris Morgan
parent
2afd981cda
commit
63a42c5a22
@@ -44,7 +44,6 @@ create table appFamily (
|
||||
key(appId)
|
||||
);
|
||||
|
||||
|
||||
/*
|
||||
* a version of an application
|
||||
*/
|
||||
@@ -140,13 +139,11 @@ create table appData (
|
||||
url varchar(255) default NULL,
|
||||
submitTime datetime NOT NULL,
|
||||
submitterId int(11) NOT NULL default '0',
|
||||
queued enum('true','false','rejected') NOT NULL default 'false',
|
||||
state enum('accepted','queued','rejected') NOT NULL default 'accepted',
|
||||
KEY id (id),
|
||||
KEY versionId (versionId)
|
||||
);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* allow users to vote for apps, as in, request that an app gets better support
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ create table buglinks (
|
||||
versionId int not null,
|
||||
submitTime datetime NOT NULL,
|
||||
submitterId int(11) NOT NULL default '0',
|
||||
queued enum('true','false') NOT NULL default 'false',
|
||||
state enum('accepted','queued') NOT NULL default 'accepted',
|
||||
key(linkId),
|
||||
index(bug_id),
|
||||
index(versionId)
|
||||
|
||||
@@ -17,9 +17,9 @@ create table appMaintainers (
|
||||
versionId int,
|
||||
userId int,
|
||||
maintainReason text,
|
||||
superMaintainer bool,
|
||||
superMaintainer tinyint(1),
|
||||
submitTime datetime,
|
||||
queued enum('true','false','rejected','pending') NOT NULL default 'false',
|
||||
state enum('accepted','queued','pending') NOT NULL default 'accepted',
|
||||
notificationLevel int not null default '0',
|
||||
notificationTime datetime,
|
||||
key(maintainerId)
|
||||
|
||||
Reference in New Issue
Block a user