Adds the VulnerabilityHandle, Blob, and BlobDigest models as well as the first blob, VulnerabilityBlob with supporting structs and store accessors (only in the Db v6 schema).
When adding a new vulnerability to the DB the store objects handle serializing the object to JSON and storing to the DB within the blobs table (and the same is true for fetching in reverse). When the store is open for writing the blob_digests table is created and populated with each write to the blobs table; since this takes up a good amount of space in the DB and isn't needed for distribution, upon closing the store this table is dropped entirely.
Adds the
VulnerabilityHandle
,Blob
, andBlobDigest
models as well as the first blob,VulnerabilityBlob
with supporting structs and store accessors (only in the Db v6 schema).When adding a new vulnerability to the DB the store objects handle serializing the object to JSON and storing to the DB within the
blobs
table (and the same is true for fetching in reverse). When the store is open for writing theblob_digests
table is created and populated with each write to theblobs
table; since this takes up a good amount of space in the DB and isn't needed for distribution, upon closing the store this table is dropped entirely.Partially addresses #2128 #2132