summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_db_maintenance.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-17 01:21:20 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-17 01:21:20 +0200
commitf9147e8be131ec6f4be4c2791f2428c84e58a402 (patch)
tree5573c22c21ca064232516e3528ca28ad3d1bc9fe /bin/reproducible_db_maintenance.py
parentd1692c78a8f7bdc1faf18d997fa1b057b32388c3 (diff)
downloadjenkins.debian.net-f9147e8be131ec6f4be4c2791f2428c84e58a402.tar.xz
reproducible: also track 'ftbfs' usertag
Diffstat (limited to 'bin/reproducible_db_maintenance.py')
-rwxr-xr-xbin/reproducible_db_maintenance.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index 8b802200..3c31da97 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -376,6 +376,10 @@ schema_updates = {
14: [ # column to enable mail notification to maintainers
'ALTER TABLE sources ADD COLUMN notify_maintainer INTEGER NOT NULL DEFAULT 0',
'INSERT INTO rb_schema VALUES ("14", "' + now + '")'],
+ 15: [ # add columns to stats_bugs for new usertag ftbfs
+ '''ALTER TABLE stats_bugs ADD COLUMN open_ftbfs INTEGER''',
+ '''ALTER TABLE stats_bugs ADD COLUMN done_ftbfs INTEGER''',
+ 'INSERT INTO rb_schema VALUES ("15", "' + now + '")'],
}