added a new status code - testing
This commit is contained in:
parent
e10ed7f5c6
commit
27c5e47ed3
@ -94,6 +94,24 @@ CREATE TABLE issue (
|
|||||||
ON DELETE RESTRICT ON UPDATE CASCADE
|
ON DELETE RESTRICT ON UPDATE CASCADE
|
||||||
) charset=utf8 engine=InnoDB;
|
) 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 (
|
CREATE TABLE issue_change (
|
||||||
projectid VARCHAR(32) NOT NULL,
|
projectid VARCHAR(32) NOT NULL,
|
||||||
id BIGINT NOT NULL,
|
id BIGINT NOT NULL,
|
||||||
@ -116,6 +134,25 @@ CREATE TABLE issue_change (
|
|||||||
|
|
||||||
) charset=utf8 engine=InnoDB;
|
) 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 (
|
CREATE TABLE file (
|
||||||
projectid VARCHAR(32) NOT NULL,
|
projectid VARCHAR(32) NOT NULL,
|
||||||
name VARCHAR(255) NOT NULL,
|
name VARCHAR(255) NOT NULL,
|
||||||
|
@ -7,8 +7,9 @@ $lang['ISSUE_STATUS_NEW'] = 'New';
|
|||||||
$lang['ISSUE_STATUS_OTHER'] = 'Other';
|
$lang['ISSUE_STATUS_OTHER'] = 'Other';
|
||||||
$lang['ISSUE_STATUS_ACCEPTED'] = 'Accepted';
|
$lang['ISSUE_STATUS_ACCEPTED'] = 'Accepted';
|
||||||
$lang['ISSUE_STATUS_REJECTED'] = 'Rejected';
|
$lang['ISSUE_STATUS_REJECTED'] = 'Rejected';
|
||||||
$lang['ISSUE_STATUS_STARTED'] = 'Started';
|
$lang['ISSUE_STATUS_STARTED'] = 'In progress';
|
||||||
$lang['ISSUE_STATUS_STALLED'] = 'Stalled';
|
$lang['ISSUE_STATUS_STALLED'] = 'Stalled';
|
||||||
|
$lang['ISSUE_STATUS_TESTING'] = 'Testing';
|
||||||
$lang['ISSUE_STATUS_RESOLVED'] = 'Resolved';
|
$lang['ISSUE_STATUS_RESOLVED'] = 'Resolved';
|
||||||
$lang['ISSUE_STATUS_WORKED_AROUND'] = 'Worked-around';
|
$lang['ISSUE_STATUS_WORKED_AROUND'] = 'Worked-around';
|
||||||
|
|
||||||
|
@ -7,8 +7,9 @@ $lang['ISSUE_STATUS_NEW'] = '신규';
|
|||||||
$lang['ISSUE_STATUS_OTHER'] = '기타';
|
$lang['ISSUE_STATUS_OTHER'] = '기타';
|
||||||
$lang['ISSUE_STATUS_ACCEPTED'] = '승인';
|
$lang['ISSUE_STATUS_ACCEPTED'] = '승인';
|
||||||
$lang['ISSUE_STATUS_REJECTED'] = '거부';
|
$lang['ISSUE_STATUS_REJECTED'] = '거부';
|
||||||
$lang['ISSUE_STATUS_STARTED'] = '시작';
|
$lang['ISSUE_STATUS_STARTED'] = '작업중';
|
||||||
$lang['ISSUE_STATUS_STALLED'] = '지연';
|
$lang['ISSUE_STATUS_STALLED'] = '지연';
|
||||||
|
$lang['ISSUE_STATUS_TESTING'] = '시험중';
|
||||||
$lang['ISSUE_STATUS_RESOLVED'] = '해결';
|
$lang['ISSUE_STATUS_RESOLVED'] = '해결';
|
||||||
$lang['ISSUE_STATUS_WORKED_AROUND'] = '땜질';
|
$lang['ISSUE_STATUS_WORKED_AROUND'] = '땜질';
|
||||||
|
|
||||||
|
@ -17,8 +17,10 @@ class IssueHelper
|
|||||||
var $STATUS_STARTED = 'started';
|
var $STATUS_STARTED = 'started';
|
||||||
// the work can be stalled for various reasons during progress
|
// the work can be stalled for various reasons during progress
|
||||||
var $STATUS_STALLED = 'stalled';
|
var $STATUS_STALLED = 'stalled';
|
||||||
|
var $STATUS_TESTING = 'testing';
|
||||||
|
|
||||||
var $STATUS_RESOLVED = 'resolved';
|
var $STATUS_RESOLVED = 'resolved';
|
||||||
var $STATUS_WORKED_AROUND = 'worked-around';
|
var $STATUS_WORKED_AROUND = 'worked-around';
|
||||||
|
|
||||||
|
|
||||||
var $PRIORITY_CRITICAL = 'critical';
|
var $PRIORITY_CRITICAL = 'critical';
|
||||||
@ -58,6 +60,8 @@ class IssueHelper
|
|||||||
$lang->line('ISSUE_STATUS_STARTED'),
|
$lang->line('ISSUE_STATUS_STARTED'),
|
||||||
$this->STATUS_STALLED =>
|
$this->STATUS_STALLED =>
|
||||||
$lang->line('ISSUE_STATUS_STALLED'),
|
$lang->line('ISSUE_STATUS_STALLED'),
|
||||||
|
$this->STATUS_TESTING =>
|
||||||
|
$lang->line('ISSUE_STATUS_TESTING'),
|
||||||
$this->STATUS_RESOLVED =>
|
$this->STATUS_RESOLVED =>
|
||||||
$lang->line('ISSUE_STATUS_RESOLVED'),
|
$lang->line('ISSUE_STATUS_RESOLVED'),
|
||||||
$this->STATUS_WORKED_AROUND =>
|
$this->STATUS_WORKED_AROUND =>
|
||||||
@ -76,6 +80,8 @@ class IssueHelper
|
|||||||
$lang->line('ISSUE_STATUS_STARTED'),
|
$lang->line('ISSUE_STATUS_STARTED'),
|
||||||
$this->STATUS_STALLED =>
|
$this->STATUS_STALLED =>
|
||||||
$lang->line('ISSUE_STATUS_STALLED')
|
$lang->line('ISSUE_STATUS_STALLED')
|
||||||
|
$this->STATUS_TESTING =>
|
||||||
|
$lang->line('ISSUE_STATUS_TESTING')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user