Make notifications field optional.

* src/cuirass/database.scm (db-add-specification): Make notifications field
optional.
This commit is contained in:
Mathieu Othacehe 2021-02-22 10:07:57 +01:00
parent f0e0c3454f
commit a0e12c382b
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ build_outputs, notifications, priority) \
(symbol->string (assq-ref spec #:proc)) ", "
(assq-ref spec #:proc-args) ", "
(assq-ref spec #:build-outputs) ", "
(assq-ref spec #:notifications) ", "
(or (assq-ref spec #:notifications) '()) ", "
(or (assq-ref spec #:priority) max-priority) ")
ON CONFLICT ON CONSTRAINT specifications_pkey DO NOTHING
RETURNING name;"))