Start storing channel instance derivations
These are the ones that relate to Guix pull.
This commit is contained in:
parent
406aa5e160
commit
9be7dbac0b
8 changed files with 110 additions and 11 deletions
13
sqitch/deploy/channel_instance_derivations.sql
Normal file
13
sqitch/deploy/channel_instance_derivations.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
-- Deploy guix-data-service:channel_instance_derivations to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE channel_instances (
|
||||
guix_revision_id integer NOT NULL REFERENCES guix_revisions(id),
|
||||
system varchar NOT NULL,
|
||||
derivation_id integer NOT NULL REFERENCES derivations (id),
|
||||
PRIMARY KEY (guix_revision_id, system),
|
||||
UNIQUE (derivation_id)
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue