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:
Christopher Baines 2020-06-27 13:35:34 +01:00
parent d687928a04
commit 1d48885e6a
5 changed files with 27 additions and 3 deletions

View file

@ -0,0 +1,7 @@
-- Deploy guix-data-service:build_status_nullable_timestamp to pg
BEGIN;
ALTER TABLE build_status ALTER COLUMN timestamp DROP NOT NULl;
COMMIT;