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.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index 649d13dd..7d88befd 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -593,12 +593,12 @@ schema_updates = {
],
30: [ # Add new table to track diffoscope breake
- "CREATE TABLE stats_breakage
- (datum TEXT NOT NULL,
+ '''CREATE TABLE stats_breakages
+ (datum TEXT,
diffoscope_timeouts INTEGER,
diffoscope_crashes INTEGER,
- PRIMARY KEY (datum))",
- "INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')"
+ PRIMARY KEY (datum))''',
+ '''INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')'''
],
}