diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-08-06 17:47:55 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-08-06 17:47:55 -0400 |
commit | fa9e42064b8544d1e63e7be30f831e4197cc21b3 (patch) | |
tree | 5e6328c541adcd78a0e41eb2b2e63df8ba81643b /coverage/sqldata.py | |
parent | ce247f659bd9f4cd0e3292c996dc2b9531fb3318 (diff) | |
download | python-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.py | 17 |
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 ( |