← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:merge-db-stable into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:merge-db-stable into launchpad:master.

Commit message:
Merge db-stable 4ac07ecaba (Add pro_enable field to Snap table)

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/452381
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:merge-db-stable into launchpad:master.
diff --git a/database/schema/patch-2211-23-0.sql b/database/schema/patch-2211-23-0.sql
new file mode 100644
index 0000000..5e1bc83
--- /dev/null
+++ b/database/schema/patch-2211-23-0.sql
@@ -0,0 +1,10 @@
+-- Copyright 2023 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 pro_enable boolean;
+
+COMMENT ON COLUMN Snap.pro_enable IS 'Whether the use of private archive dependencies of the base is allowed.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 23, 0);