Fix db-get-specifications.

* src/schema.sql: Reorder fields.
* src/cuirass/database.scm (db-get-specifications): Ditto.
This commit is contained in:
Mathieu Othacehe 2021-02-22 11:12:00 +01:00
parent 342c5edfe8
commit 3e65617409
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
2 changed files with 3 additions and 3 deletions

View File

@ -473,7 +473,7 @@ SELECT * FROM Specifications ORDER BY name ASC;")))
(match rows
(() (reverse specs))
(((name load-path-inputs package-path-inputs proc-input proc-file proc
proc-args build-outputs notifications priority)
proc-args build-outputs priority notifications)
. rest)
(loop rest
(cons `((#:name . ,name)

View File

@ -13,8 +13,8 @@ CREATE TABLE Specifications (
proc TEXT NOT NULL, -- defined in proc_file
proc_args TEXT NOT NULL, -- passed to proc
build_outputs TEXT NOT NULL, --specify what build outputs should be made available for download
notifications TEXT,
priority INTEGER NOT NULL DEFAULT 0
priority INTEGER NOT NULL DEFAULT 0,
notifications TEXT
);
CREATE TABLE Inputs (