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

Proposed by Colin Watson
Status: Merged
Merged at revision: 13504
Proposed branch: lp:~cjwatson/launchpad/db-snap-channels
Merge into: lp:launchpad/db-devel
Diff against target: 14 lines (+10/-0)
1 file modified
database/schema/patch-2209-69-5.sql (+10/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/db-snap-channels
Reviewer Review Type Date Requested Status
Thomi Richards (community) Approve
Launchpad code reviewers db Pending
Review via email: mp+298803@code.launchpad.net

Commit message

Add Snap.store_channels column.

Description of the change

Add Snap.store_channels column listing the channels (if any) to which a snap package should be released after a successful upload. This will just be a JSON-encoded array; we don't need anything more complicated.

To post a comment you must log in.
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

LGTM - one minor comment you should feel free to ignore.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'database/schema/patch-2209-69-5.sql'
--- database/schema/patch-2209-69-5.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-69-5.sql 2016-07-12 13:54:59 +0000
@@ -0,0 +1,10 @@
1-- Copyright 2016 Canonical Ltd. This software is licensed under the
2-- GNU Affero General Public License version 3 (see the file LICENSE).
3
4SET client_min_messages=ERROR;
5
6ALTER TABLE Snap ADD COLUMN store_channels text;
7
8COMMENT ON COLUMN Snap.store_channels IS 'Channels to release this snap package to after uploading it to the store.';
9
10INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 69, 5);

Subscribers

People subscribed via source and target branches

to status/vote changes: