g1t/services/packages/migrations/0005_version_downloads.sql

7 lines411 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.

Merge branch 'worktree-agent-ac1de8a731938ed81'1-- Each version's own downloads, beside its package's: NuGet's registration
2-- and search name them. Counted the way the package's are, approximately.
3ALTER TABLE versions ADD COLUMN downloads INTEGER NOT NULL DEFAULT 0;
4
5-- The NuGet symbol server finds a PDB by the name a version keeps it under
6-- (`pdb:<file>:<key>`), across a workspace's packages.
7CREATE INDEX version_files_name ON version_files (name);

This file's history is long; its oldest lines are credited to the oldest commit read.