launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #21426
[Merge] lp:~cjwatson/launchpad/db-buildinfo into lp:launchpad/db-devel
Colin Watson has proposed merging lp:~cjwatson/launchpad/db-buildinfo into lp:launchpad/db-devel.
Commit message:
Add SourcePackageRelease.buildinfo and BinaryPackageBuild.buildinfo.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers): db
Related bugs:
Bug #1657704 in Launchpad itself: "please start storing buildinfo files, for new dpkg versions"
https://bugs.launchpad.net/launchpad/+bug/1657704
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-buildinfo/+merge/321262
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/db-buildinfo into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-82-0.sql'
--- database/schema/patch-2209-82-0.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-82-0.sql 2017-03-29 09:28:41 +0000
@@ -0,0 +1,9 @@
+-- Copyright 2017 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 SourcePackageRelease ADD COLUMN buildinfo integer REFERENCES libraryfilealias;
+ALTER TABLE BinaryPackageBuild ADD COLUMN buildinfo integer REFERENCES libraryfilealias;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 82, 0);