summaryrefslogtreecommitdiffstats
path: root/non-puppet/qtmetrics2/testparser.pl
diff options
context:
space:
mode:
authorJuha Sippola <juhasippola@outlook.com>2015-09-21 16:20:56 +0300
committerTony Sarajärvi <tony.sarajarvi@theqtcompany.com>2015-09-23 09:39:14 +0000
commit0624492bcf28308982e4e3116adcfbc8da29799e (patch)
treeaa64d2e5df3cd8114ccbbb0de95b112ab60782d9 /non-puppet/qtmetrics2/testparser.pl
parent2eca1988760d8ab51d0cb2a2616ffa022a1647ea (diff)
Qt Metrics 2 (v0.28): Branch archiving
Added buttons to archive (and restore) a branch on the admin pages. Added field 'archived' to the branch table in the database. Change-Id: Idefddd15df02014ce70c5c4f981eb5938c4bf5f7 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
Diffstat (limited to 'non-puppet/qtmetrics2/testparser.pl')
-rw-r--r--non-puppet/qtmetrics2/testparser.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/non-puppet/qtmetrics2/testparser.pl b/non-puppet/qtmetrics2/testparser.pl
index 89ce1c9..d924c8d 100644
--- a/non-puppet/qtmetrics2/testparser.pl
+++ b/non-puppet/qtmetrics2/testparser.pl
@@ -1251,6 +1251,7 @@ sub sql_create_tables
"CREATE TABLE IF NOT EXISTS branch (
id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
name VARCHAR(20) NOT NULL,
+ archived BOOL NOT NULL DEFAULT 0,
UNIQUE INDEX unique_branch (name),
CONSTRAINT branch_pk PRIMARY KEY (id)
) ENGINE MyISAM"