From 309f67eaf902438269124dd8ab7388d83f9262db Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Mon, 4 Jan 2021 07:04:14 +0000 Subject: [PATCH] Prevent misbehaving dynamic context plugins from ruining coverage --- coverage/sqldata.py | 1 + doc/dbschema.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/coverage/sqldata.py b/coverage/sqldata.py index b28b83b4f..dff7f4a03 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -70,6 +70,7 @@ id integer primary key, context text, unique (context) + ON CONFLICT IGNORE ); CREATE TABLE line_bits ( diff --git a/doc/dbschema.rst b/doc/dbschema.rst index 34f4a92e7..bf24872f1 100644 --- a/doc/dbschema.rst +++ b/doc/dbschema.rst @@ -72,6 +72,7 @@ TODO: explain more. Readers: what needs explaining? id integer primary key, context text, unique (context) + ON CONFLICT IGNORE ); CREATE TABLE line_bits (