unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 02e9c41ea612fcf69a15a486068dcd9a8f309915 386 bytes (raw)
name: src/sql/upgrade-7.sql 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
BEGIN TRANSACTION;

CREATE TABLE BuildProducts (
  build         INTEGER NOT NULL,
  type          TEXT NOT NULL,
  file_size     BIGINT NOT NULL,
  sha256_hash   TEXT NOT NULL,
  path          TEXT NOT NULL,
  PRIMARY KEY (build, path)
  FOREIGN KEY (build) REFERENCES Builds (id) ON DELETE CASCADE
);

ALTER TABLE Specifications ADD build_outputs TEXT NOT NULL DEFAULT "()";

COMMIT;

debug log:

solving 02e9c41 ...
found 02e9c41 in https://yhetil.org/guix-patches/87ees4uja7.fsf@gmail.com/

applying [1/1] https://yhetil.org/guix-patches/87ees4uja7.fsf@gmail.com/
diff --git a/src/sql/upgrade-7.sql b/src/sql/upgrade-7.sql
new file mode 100644
index 0000000..02e9c41

Checking patch src/sql/upgrade-7.sql...
Applied patch src/sql/upgrade-7.sql cleanly.

index at:
100644 02e9c41ea612fcf69a15a486068dcd9a8f309915	src/sql/upgrade-7.sql

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).