Make nar_urls file sizes optional

This commit is contained in:
Christopher Baines 2020-06-03 06:56:59 +01:00
parent 5894f05147
commit 916b594473
5 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,7 @@
-- Deploy guix-data-service:make_nar_urls_file_size_optional to pg
BEGIN;
ALTER TABLE nar_urls ALTER COLUMN file_size DROP NOT NULL;
COMMIT;

View file

@ -0,0 +1,7 @@
-- Revert guix-data-service:make_nar_urls_file_size_optional from pg
BEGIN;
-- XXX Add DDLs here.
COMMIT;

View file

@ -58,3 +58,4 @@ create_narinfo_fetch_records_index 2020-03-25T19:07:28Z Christopher Baines <mail
load_new_guix_revision_jobs_make_commits_unique 2020-03-27T21:38:42Z Christopher Baines <mail@cbaines.net> # Make load_new_guix_revision_jobs commits unique
remove_odd_package_derivations 2020-04-24T20:36:06Z Christopher Baines <mail@cbaines.net> # Remove odd package derivations
build_servers_lookup_builds 2020-05-24T15:18:09Z Christopher Baines <mail@cbaines.net> # Add build_servers.lookup_builds
make_nar_urls_file_size_optional 2020-06-03T05:27:29Z Christopher Baines <mail@cbaines.net> # Make the nar_urls.file_size optional

View file

@ -0,0 +1,7 @@
-- Verify guix-data-service:make_nar_urls_file_size_optional on pg
BEGIN;
-- XXX Add verifications here.
ROLLBACK;