Skip to content

Commit 309f67e

Browse files
committed
Prevent misbehaving dynamic context plugins from ruining coverage
1 parent 7ff93a9 commit 309f67e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

coverage/sqldata.py

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
id integer primary key,
7171
context text,
7272
unique (context)
73+
ON CONFLICT IGNORE
7374
);
7475
7576
CREATE TABLE line_bits (

doc/dbschema.rst

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ TODO: explain more. Readers: what needs explaining?
7272
id integer primary key,
7373
context text,
7474
unique (context)
75+
ON CONFLICT IGNORE
7576
);
7677
7778
CREATE TABLE line_bits (

0 commit comments

Comments
 (0)