Add a new table to store package versions by revision ranges

This isn't new information, but derived from information already in the
database. It's collected here to make querying faster.

The table is updated when each new revision is entered.
This commit is contained in:
Christopher Baines 2019-09-26 23:45:07 +01:00
parent 465f262ded
commit 43bc7cab91
5 changed files with 96 additions and 2 deletions

View file

@ -0,0 +1,7 @@
-- Revert guix-data-service:package_versions_by_guix_revision_range from pg
BEGIN;
DROP TABLE package_versions_by_guix_revision_range;
COMMIT;