summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_db_maintenance.py
diff options
context:
space:
mode:
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 + '")'],
}