Make build_status.timestamp nullable
The Guix Build Coordinator doesn't record timestamps for events currently. This is something to fix, but allow for build statuses without timestamps as they're not necessary.
This commit is contained in:
parent
d687928a04
commit
1d48885e6a
5 changed files with 27 additions and 3 deletions
|
|
@ -75,9 +75,11 @@ VALUES "
|
|||
"("
|
||||
(number->string build-id)
|
||||
","
|
||||
(string-append "to_timestamp("
|
||||
(number->string timestamp)
|
||||
")")
|
||||
(if timestamp
|
||||
(string-append "to_timestamp("
|
||||
(number->string timestamp)
|
||||
")")
|
||||
"NULL")
|
||||
","
|
||||
(quote-string status)
|
||||
")")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue