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
7
sqitch/deploy/build_status_nullable_timestamp.sql
Normal file
7
sqitch/deploy/build_status_nullable_timestamp.sql
Normal 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;
|
||||
7
sqitch/revert/build_status_nullable_timestamp.sql
Normal file
7
sqitch/revert/build_status_nullable_timestamp.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Revert guix-data-service:build_status_nullable_timestamp from pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add DDLs here.
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -61,3 +61,4 @@ build_servers_lookup_builds 2020-05-24T15:18:09Z Christopher Baines <mail@cbaine
|
|||
make_nar_urls_file_size_optional 2020-06-03T05:27:29Z Christopher Baines <mail@cbaines.net> # Make the nar_urls.file_size optional
|
||||
translations_for_lint_checker_descriptions 2020-05-22T19:49:37Z daniela <daniela@linux-ijv5> # Support translations for lint checker descriptions
|
||||
translations_for_package_synopsis_and_descriptions 2020-06-09T12:42:54Z daniela <daniela@linux-ijv5> # Support translations for package synopsis and descriptions
|
||||
build_status_nullable_timestamp 2020-06-27T12:34:29Z Christopher Baines <mail@cbaines.net> # Make build_status.timestamp nullable
|
||||
|
|
|
|||
7
sqitch/verify/build_status_nullable_timestamp.sql
Normal file
7
sqitch/verify/build_status_nullable_timestamp.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Verify guix-data-service:build_status_nullable_timestamp on pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add verifications here.
|
||||
|
||||
ROLLBACK;
|
||||
Loading…
Add table
Add a link
Reference in a new issue