Merge lp:~cjwatson/launchpad/db-snap-allow-network into lp:launchpad/db-devel

Proposed by Colin Watson on 2018-01-31
Status: Needs review
Proposed branch: lp:~cjwatson/launchpad/db-snap-allow-network
Merge into: lp:launchpad/db-devel
Diff against target: 14 lines (+10/-0)
1 file modified
database/schema/patch-2209-83-0.sql (+10/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/db-snap-allow-network
Reviewer Review Type Date Requested Status
Launchpad code reviewers db 2018-01-31 Pending
Review via email: mp+336923@code.launchpad.net

Commit Message

Add Snap.allow_network.

Description of the Change

To post a comment you must log in.

Unmerged revisions

13784. By Colin Watson on 2018-01-30

Add Snap.allow_network.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2209-83-0.sql'
2--- database/schema/patch-2209-83-0.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-83-0.sql 2018-01-31 14:51:26 +0000
4@@ -0,0 +1,10 @@
5+-- Copyright 2018 Canonical Ltd. This software is licensed under the
6+-- GNU Affero General Public License version 3 (see the file LICENSE).
7+
8+SET client_min_messages=ERROR;
9+
10+ALTER TABLE Snap ADD COLUMN allow_network boolean;
11+
12+COMMENT ON COLUMN Snap.allow_network IS 'If True, builds of this snap may allow access to external network resources.';
13+
14+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 83, 0);

Subscribers

People subscribed via source and target branches

to status/vote changes: