launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #26213
[Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
Thiago F. Pappacena has proposed merging ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel.
Commit message:
Adding Snap.project for private Snaps' optional pillar
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/397459
Related code changes here: https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/397458
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel.
diff --git a/database/schema/patch-2210-26-1.sql b/database/schema/patch-2210-26-1.sql
new file mode 100644
index 0000000..08124d6
--- /dev/null
+++ b/database/schema/patch-2210-26-1.sql
@@ -0,0 +1,13 @@
+-- Copyright 2021 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 project INT,
+ ADD CONSTRAINT snap__project__fk
+ FOREIGN KEY (project) REFERENCES Product(id);
+
+COMMENT ON COLUMN Snap.project IS 'The project which is the pillar for this Snap';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 26, 1);
Follow ups
-
[Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Otto Co-Pilot, 2021-02-25
-
[Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Thiago F. Pappacena, 2021-02-25
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: William Grant, 2021-02-24
-
[Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Thiago F. Pappacena, 2021-02-19
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Thiago F. Pappacena, 2021-02-19
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Colin Watson, 2021-02-19
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: William Grant, 2021-02-19
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Colin Watson, 2021-02-19
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Thiago F. Pappacena, 2021-02-12
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Colin Watson, 2021-02-11
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Thiago F. Pappacena, 2021-02-04
-
Re: [Merge] ~pappacena/launchpad:snap-pillar-db into launchpad:db-devel
From: Colin Watson, 2021-02-04