← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~adeuring/launchpad/accessartifact-specification-2 into lp:launchpad

 

Abel Deuring has proposed merging lp:~adeuring/launchpad/accessartifact-specification-2 into lp:launchpad.

Requested reviews:
  Robert Collins (lifeless): db
  Stuart Bishop (stub): db

For more details, see:
https://code.launchpad.net/~adeuring/launchpad/accessartifact-specification-2/+merge/122634

This branch adds an index for the recently added column AccessArtifact.specification.
-- 
https://code.launchpad.net/~adeuring/launchpad/accessartifact-specification-2/+merge/122634
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== added file 'database/schema/patch-2209-28-5.sql'
--- database/schema/patch-2209-28-5.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-28-5.sql	2012-09-04 09:00:39 +0000
@@ -0,0 +1,8 @@
+-- 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 UNIQUE INDEX accessacrtifact__specification__key
+    ON AccessArtifact(specification)  WHERE specification IS NOT NULL;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 28, 5);


Follow ups