g1t/services/packages/migrations/0004_checksums.sql

10 lines376 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Packages: Maven, NuGet and RubyGems registries for every workspace1-- The checksums Maven asks for beside every file (`.md5`, `.sha1`,
2-- `.sha512`; `.sha256` is the blob's digest), worked out once when the
3-- file is uploaded so a download never reads a file twice. Kept by digest,
4-- as blobs are, and let go with them.
5CREATE TABLE checksums (
6 digest TEXT PRIMARY KEY,
7 md5 TEXT NOT NULL,
8 sha1 TEXT NOT NULL,
9 sha512 TEXT NOT NULL
10);