← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~twom/launchpad/db-snapbuild-json-data-column into lp:launchpad/db-devel

 

Tom Wardill has proposed merging lp:~twom/launchpad/db-snapbuild-json-data-column into lp:launchpad/db-devel.

Commit message:
Add a metadata column to SnapBuild

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~twom/launchpad/db-snapbuild-json-data-column/+merge/360458
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~twom/launchpad/db-snapbuild-json-data-column into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-83-5.sql'
--- database/schema/patch-2209-83-5.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-83-5.sql	2018-12-10 09:45:49 +0000
@@ -0,0 +1,10 @@
+-- Copyright 2018 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 SnapBuild ADD COLUMN store_upload_json_data text;
+
+COMMENT ON COLUMN SnapBuild.store_upload_json_data IS 'Data that is specific to a particular build.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 83, 5);