From fa9e42064b8544d1e63e7be30f831e4197cc21b3 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 6 Aug 2019 17:47:55 -0400 Subject: Don't need the schema history in the schema --- coverage/sqldata.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'coverage/sqldata.py') diff --git a/coverage/sqldata.py b/coverage/sqldata.py index 5b3f8766..3ee34f0f 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -31,17 +31,18 @@ os = isolate_module(os) SCHEMA_VERSION = 6 +# Schema versions: +# 1: Released in 5.0a2 +# 2: Added contexts in 5.0a3. +# 3: Replaced line table with line_map table. +# 4: Changed line_map.bitmap to line_map.numbits. +# 5: Added foreign key declarations. +# 6: Key-value in meta. + SCHEMA = """ CREATE TABLE coverage_schema ( - -- One row, to record the version of the schema store in this db. + -- One row, to record the version of the schema in this db. version integer - -- Schema versions: - -- 1: Released in 5.0a2 - -- 2: Added contexts in 5.0a3. - -- 3: Replaced line table with line_map table. - -- 4: Changed line_map.bitmap to line_map.numbits. - -- 5: Added foreign key declarations. - -- 6: Key-value in meta. ); CREATE TABLE meta ( -- cgit v1.2.1