From 4881690364b5826a45c7832550cb95b351e41217 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 27 Feb 2015 23:49:39 +0100 Subject: reproducible: track new usertag, umask --- bin/reproducible_db_maintenance.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/reproducible_db_maintenance.py') 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 + '")'], } -- cgit v1.2.3-70-g09d2