g1t/services/packages/migrations/0005_version_downloads.sql
| 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. |
| 3 | ALTER 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. |
| 7 | CREATE INDEX version_files_name ON version_files (name); |