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.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index bace9618..649d13dd 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -591,6 +591,15 @@ schema_updates = {
"ALTER TABLE results ALTER id SET DEFAULT NEXTVAL('results_id_seq')",
"INSERT INTO rb_schema (version, date) VALUES (29, '" + now + "')"
],
+
+ 30: [ # Add new table to track diffoscope breake
+ "CREATE TABLE stats_breakage
+ (datum TEXT NOT NULL,
+ diffoscope_timeouts INTEGER,
+ diffoscope_crashes INTEGER,
+ PRIMARY KEY (datum))",
+ "INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')"
+ ],
}