launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #20054
[Merge] lp:~wgrant/launchpad/gpgkey-fks-db-2 into lp:launchpad/db-devel
William Grant has proposed merging lp:~wgrant/launchpad/gpgkey-fks-db-2 into lp:launchpad/db-devel with lp:~wgrant/launchpad/gpgkey-fks-db as a prerequisite.
Commit message:
Index *.signing_key_{fingerprint,owner}.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~wgrant/launchpad/gpgkey-fks-db-2/+merge/287934
Followup to https://code.launchpad.net/~wgrant/launchpad/gpgkey-fks-db/+merge/287709: index *.signing_key_{fingerprint,owner}.
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/gpgkey-fks-db-2 into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-75-1.sql'
--- database/schema/patch-2209-75-1.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-75-1.sql 2016-03-03 13:33:39 +0000
@@ -0,0 +1,26 @@
+-- Copyright 2016 Canonical Ltd. This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+CREATE INDEX archive__signing_key_fingerprint__idx
+ ON archive(signing_key_fingerprint);
+CREATE INDEX packageupload__signing_key_fingerprint__idx
+ ON packageupload(signing_key_fingerprint);
+CREATE INDEX revision__signing_key_fingerprint__idx
+ ON revision(signing_key_fingerprint);
+CREATE INDEX signedcodeofconduct__signing_key_fingerprint__idx
+ ON signedcodeofconduct(signing_key_fingerprint);
+CREATE INDEX sourcepackagerelease__signing_key_fingerprint__idx
+ ON sourcepackagerelease(signing_key_fingerprint);
+
+CREATE INDEX archive__signing_key_owner__idx
+ ON archive(signing_key_owner);
+CREATE INDEX packageupload__signing_key_owner__idx
+ ON packageupload(signing_key_owner);
+CREATE INDEX revision__signing_key_owner__idx
+ ON revision(signing_key_owner);
+CREATE INDEX sourcepackagerelease__signing_key_owner__idx
+ ON sourcepackagerelease(signing_key_owner);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 99, 1);