← Back to team overview

launchpad-reviewers team mailing list archive

lp:~deryck/launchpad/product-specification-sharing-policy-idx-1057617 into lp:launchpad

 

Deryck Hodge has proposed merging lp:~deryck/launchpad/product-specification-sharing-policy-idx-1057617 into lp:launchpad.

Commit message:
Add db index for Product.specification_sharing_policy.

Requested reviews:
  Robert Collins (lifeless)
  Stuart Bishop (stub)
Related bugs:
  Bug #1057617 in Launchpad itself: "Product.specification_sharing_policy needs an index added"
  https://bugs.launchpad.net/launchpad/+bug/1057617

For more details, see:
https://code.launchpad.net/~deryck/launchpad/product-specification-sharing-policy-idx-1057617/+merge/126728

This adds an index for Product.specification_sharing_policy.  It's one of a couple final branches to finish out the schema changes for Product.specification_sharing_policy.  As I understand, this will be applied live, so I'm proposing for merge into lp:launchpad.  If I misunderstood this process, please let me know.
-- 
https://code.launchpad.net/~deryck/launchpad/product-specification-sharing-policy-idx-1057617/+merge/126728
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== added file 'database/schema/patch-2209-31-2.sql'
--- database/schema/patch-2209-31-2.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-31-2.sql	2012-09-27 16:42:21 +0000
@@ -0,0 +1,9 @@
+-- Copyright 2012 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 product__specicification_sharing_policy__idx
+    ON Product(specification_sharing_policy);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 31, 2);


Follow ups