launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #24503
[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 be0c846de0 (Add BPPH.creator, BPPH.copied_from_archive, and SPPH.copied_from_archive)
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/381170
--
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-2210-11-1.sql b/database/schema/patch-2210-11-1.sql
new file mode 100644
index 0000000..57e77e9
--- /dev/null
+++ b/database/schema/patch-2210-11-1.sql
@@ -0,0 +1,19 @@
+-- Copyright 2020 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 binarypackagepublishinghistory
+ ADD COLUMN creator INTEGER REFERENCES person;
+
+
+ALTER TABLE binarypackagepublishinghistory
+ ADD COLUMN copied_from_archive INTEGER REFERENCES archive;
+
+
+ALTER TABLE sourcepackagepublishinghistory
+ ADD COLUMN copied_from_archive INTEGER REFERENCES archive;
+
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 11, 1);