launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #22141
[Merge] lp:~cjwatson/launchpad/db-snap-allow-network into lp:launchpad/db-devel
Colin Watson has proposed merging lp:~cjwatson/launchpad/db-snap-allow-network into lp:launchpad/db-devel.
Commit message:
Add Snap.allow_network.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers): db
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-snap-allow-network/+merge/336923
See https://code.launchpad.net/~cjwatson/launchpad/snap-allow-network/+merge/336924 for the corresponding code change.
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/db-snap-allow-network into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-83-0.sql'
--- database/schema/patch-2209-83-0.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-83-0.sql 2018-01-31 14:51:26 +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 Snap ADD COLUMN allow_network boolean;
+
+COMMENT ON COLUMN Snap.allow_network IS 'If True, builds of this snap may allow access to external network resources.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 83, 0);
References