Merge lp:~stevenk/launchpad/db-branch-information_type-index into lp:launchpad/db-devel

Proposed by Steve Kowalik
Status: Merged
Approved by: Steve Kowalik
Approved revision: no longer in the source branch.
Merged at revision: 11569
Proposed branch: lp:~stevenk/launchpad/db-branch-information_type-index
Merge into: lp:launchpad/db-devel
Diff against target: 12 lines (+8/-0)
1 file modified
database/schema/patch-2209-12-4.sql (+8/-0)
To merge this branch: bzr merge lp:~stevenk/launchpad/db-branch-information_type-index
Reviewer Review Type Date Requested Status
Stuart Bishop (community) db Approve
Robert Collins db Pending
Review via email: mp+104689@code.launchpad.net

Commit message

Add an index onto Branch.information_type.

Description of the change

Add an index onto Branch.information_type.

To post a comment you must log in.
Revision history for this message
Stuart Bishop (stub) :
review: Approve (db)
Revision history for this message
Stuart Bishop (stub) wrote :

Applied prod, staging and qastaging

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2209-12-4.sql'
2--- database/schema/patch-2209-12-4.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-12-4.sql 2012-05-04 06:48:18 +0000
4@@ -0,0 +1,8 @@
5+-- Copyright 2012 Canonical Ltd. This software is licensed under the
6+-- GNU Affero General Public License version 3 (see the file LICENSE).
7+
8+SET client_min_messages=ERROR;
9+
10+CREATE INDEX branch__information_type__idx ON Branch(information_type);
11+
12+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 12, 4);

Subscribers

People subscribed via source and target branches

to status/vote changes: