added a new status code - testing

This commit is contained in:
hyung-hwan 2015-02-12 16:51:18 +00:00
parent e10ed7f5c6
commit 27c5e47ed3
4 changed files with 48 additions and 3 deletions

View File

@ -94,6 +94,24 @@ CREATE TABLE issue (
ON DELETE RESTRICT ON UPDATE CASCADE
) charset=utf8 engine=InnoDB;
CREATE TABLE issue_attachment (
projectid VARCHAR(32) NOT NULL,
issueid BIGINT NOT NULL,
name VARCHAR(255) NOT NULL,
encname VARCHAR(255) NOT NULL,
createdon DATETIME NOT NULL,
createdby VARCHAR(32) NOT NULL,
UNIQUE KEY issue_attachment_id (projectid, issueid, name),
CONSTRAINT issue_attachment_projectid FOREIGN KEY (projectid) REFERENCES project(id)
ON DELETE RESTRICT ON UPDATE CASCADE,
CONSTRAINT issue_attachment_issueid FOREIGN KEY (projectid,issueid) REFERENCES issue(projectid,id)
ON DELETE RESTRICT ON UPDATE CASCADE
) charset=utf8 engine=InnoDB;
CREATE TABLE issue_change (
projectid VARCHAR(32) NOT NULL,
id BIGINT NOT NULL,
@ -116,6 +134,25 @@ CREATE TABLE issue_change (
) charset=utf8 engine=InnoDB;
CREATE TABLE issue_change_attachment (
projectid VARCHAR(32) NOT NULL,
issueid BIGINT NOT NULL,
issuesno BIGINT NOT NULL,
name VARCHAR(255) NOT NULL,
encname VARCHAR(255) NOT NULL,
createdon DATETIME NOT NULL,
createdby VARCHAR(32) NOT NULL,
UNIQUE KEY issue_change_attachment_id (projectid, issueid, name),
CONSTRAINT issue_change_attachment_projectid FOREIGN KEY (projectid) REFERENCES project(id)
ON DELETE RESTRICT ON UPDATE CASCADE,
CONSTRAINT issue_change_attachment_issueidsno FOREIGN KEY (projectid,issueid,issuesno) REFERENCES issue_change(projectid,id,sno)
ON DELETE RESTRICT ON UPDATE CASCADE
) charset=utf8 engine=InnoDB;
CREATE TABLE file (
projectid VARCHAR(32) NOT NULL,
name VARCHAR(255) NOT NULL,

View File

@ -7,8 +7,9 @@ $lang['ISSUE_STATUS_NEW'] = 'New';
$lang['ISSUE_STATUS_OTHER'] = 'Other';
$lang['ISSUE_STATUS_ACCEPTED'] = 'Accepted';
$lang['ISSUE_STATUS_REJECTED'] = 'Rejected';
$lang['ISSUE_STATUS_STARTED'] = 'Started';
$lang['ISSUE_STATUS_STARTED'] = 'In progress';
$lang['ISSUE_STATUS_STALLED'] = 'Stalled';
$lang['ISSUE_STATUS_TESTING'] = 'Testing';
$lang['ISSUE_STATUS_RESOLVED'] = 'Resolved';
$lang['ISSUE_STATUS_WORKED_AROUND'] = 'Worked-around';

View File

@ -7,8 +7,9 @@ $lang['ISSUE_STATUS_NEW'] = '신규';
$lang['ISSUE_STATUS_OTHER'] = '기타';
$lang['ISSUE_STATUS_ACCEPTED'] = '승인';
$lang['ISSUE_STATUS_REJECTED'] = '거부';
$lang['ISSUE_STATUS_STARTED'] = '작';
$lang['ISSUE_STATUS_STARTED'] = '업중';
$lang['ISSUE_STATUS_STALLED'] = '지연';
$lang['ISSUE_STATUS_TESTING'] = '시험중';
$lang['ISSUE_STATUS_RESOLVED'] = '해결';
$lang['ISSUE_STATUS_WORKED_AROUND'] = '땜질';

View File

@ -17,6 +17,8 @@ class IssueHelper
var $STATUS_STARTED = 'started';
// the work can be stalled for various reasons during progress
var $STATUS_STALLED = 'stalled';
var $STATUS_TESTING = 'testing';
var $STATUS_RESOLVED = 'resolved';
var $STATUS_WORKED_AROUND = 'worked-around';
@ -58,6 +60,8 @@ class IssueHelper
$lang->line('ISSUE_STATUS_STARTED'),
$this->STATUS_STALLED =>
$lang->line('ISSUE_STATUS_STALLED'),
$this->STATUS_TESTING =>
$lang->line('ISSUE_STATUS_TESTING'),
$this->STATUS_RESOLVED =>
$lang->line('ISSUE_STATUS_RESOLVED'),
$this->STATUS_WORKED_AROUND =>
@ -76,6 +80,8 @@ class IssueHelper
$lang->line('ISSUE_STATUS_STARTED'),
$this->STATUS_STALLED =>
$lang->line('ISSUE_STATUS_STALLED')
$this->STATUS_TESTING =>
$lang->line('ISSUE_STATUS_TESTING')
);
}