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 7dff97a9..5cf776be 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -214,6 +214,10 @@ schema_updates = {
build_duration TEXT NOT NULL,
UNIQUE (name, version, suite, architecture, build_date))''',
'INSERT INTO rb_schema VALUES ("2", "' + now + '")']
+ 3: [ # add columns to stats_bugs for new usertag umask
+ '''ALTER TABLE stats_bugs ADD COLUMN open_umask INTEGER''',
+ '''ALTER TABLE stats_bugs ADD COLUMN done_umask INTEGER''',
+ 'INSERT INTO rb_schema VALUES ("3", "' + now + '")'],
}