summaryrefslogtreecommitdiff
path: root/coverage/sqldata.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-08-06 17:47:55 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-08-06 17:47:55 -0400
commitfa9e42064b8544d1e63e7be30f831e4197cc21b3 (patch)
tree5e6328c541adcd78a0e41eb2b2e63df8ba81643b /coverage/sqldata.py
parentce247f659bd9f4cd0e3292c996dc2b9531fb3318 (diff)
downloadpython-coveragepy-git-fa9e42064b8544d1e63e7be30f831e4197cc21b3.tar.gz
Don't need the schema history in the schema
Diffstat (limited to 'coverage/sqldata.py')
-rw-r--r--coverage/sqldata.py17
1 files changed, 9 insertions, 8 deletions
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 (