← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~twom/launchpad:db-oci-recipe-build-path into launchpad:db-devel

 

Tom Wardill has proposed merging ~twom/launchpad:db-oci-recipe-build-path into launchpad:db-devel.

Commit message:
Add OCIRecipe.build_path

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/389228
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~twom/launchpad:db-oci-recipe-build-path into launchpad:db-devel.
diff --git a/database/schema/patch-2210-20-0.sql b/database/schema/patch-2210-20-0.sql
new file mode 100644
index 0000000..f821efd
--- /dev/null
+++ b/database/schema/patch-2210-20-0.sql
@@ -0,0 +1,10 @@
+-- Copyright 2020 Canonical Ltd.  This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+ALTER TABLE OCIRecipe ADD COLUMN build_path text DEFAULT '.' NOT NULL;
+
+COMMENT ON COLUMN OCIRecipe.build_path IS 'Path to build file with in the repository.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 20, 0);