Add a new table to nars for derivation source files
This will allow serving the nars for derivation source files.
This commit is contained in:
parent
f56935a8a6
commit
c84b21be7c
4 changed files with 29 additions and 0 deletions
14
sqitch/deploy/add_derivation_source_file_nars.sql
Normal file
14
sqitch/deploy/add_derivation_source_file_nars.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- Deploy guix-data-service:add_derivation_source_file_nars to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE derivation_source_file_nars (
|
||||
derivation_source_file_id integer PRIMARY KEY REFERENCES derivation_source_files (id),
|
||||
compression varchar NOT NULL,
|
||||
hash_algorithm varchar NOT NULL,
|
||||
hash varchar NOT NULL,
|
||||
uncompressed_size integer NOT NULL,
|
||||
data bytea NOT NULL
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue