← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~stevenk/launchpad/db-packageupload-archive-index into lp:launchpad/db-devel

 

Steve Kowalik has proposed merging lp:~stevenk/launchpad/db-packageupload-archive-index into lp:launchpad/db-devel.

Requested reviews:
  Robert Collins (lifeless): db
  Stuart Bishop (stub): db
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~stevenk/launchpad/db-packageupload-archive-index/+merge/79903

Add an index on PackageUpload.archive.
-- 
https://code.launchpad.net/~stevenk/launchpad/db-packageupload-archive-index/+merge/79903
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stevenk/launchpad/db-packageupload-archive-index into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2208-92-1.sql'
--- database/schema/patch-2208-92-1.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2208-92-1.sql	2011-10-20 03:54:26 +0000
@@ -0,0 +1,8 @@
+-- Copyright 2011 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 packageupload__archive__idx ON PackageUpload(archive);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 92, 1);


Follow ups