From b503280256bed6ced0c79d32ee17dda72827a381 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 26 Jan 2024 11:53:58 -0500 Subject: [PATCH] Add migration to drop non-null constraints --- src/sql/upgrade-84.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/sql/upgrade-84.sql diff --git a/src/sql/upgrade-84.sql b/src/sql/upgrade-84.sql new file mode 100644 index 00000000..bf142b30 --- /dev/null +++ b/src/sql/upgrade-84.sql @@ -0,0 +1,4 @@ +-- CA derivations do not have statically known output paths. The values +-- are only filled in after the build runs. +ALTER TABLE BuildStepOutputs ALTER COLUMN path DROP NOT NULL; +ALTER TABLE BuildOutputs ALTER COLUMN path DROP NOT NULL;