diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-27 23:49:39 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-27 23:49:39 +0100 |
commit | 4881690364b5826a45c7832550cb95b351e41217 (patch) | |
tree | 0b6e395ee7537180ca21c728aba5494dd4c1fbc0 /bin/reproducible_db_maintenance.py | |
parent | f983baed548164b318dc56ca16bc24d0b82f6c03 (diff) | |
download | jenkins.debian.net-4881690364b5826a45c7832550cb95b351e41217.tar.xz |
reproducible: track new usertag, umask
Diffstat (limited to 'bin/reproducible_db_maintenance.py')
-rwxr-xr-x | bin/reproducible_db_maintenance.py | 4 |
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 + '")'], } |