← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~wgrant/launchpad/livefsfile-libraryfile-index into lp:launchpad

 

William Grant has proposed merging lp:~wgrant/launchpad/livefsfile-libraryfile-index into lp:launchpad.

Commit message:
Add missing index on LiveFSFile.libraryfile.

Requested reviews:
  William Grant (wgrant): db

For more details, see:
https://code.launchpad.net/~wgrant/launchpad/livefsfile-libraryfile-index/+merge/360114
-- 
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== added file 'database/schema/patch-2209-56-4.sql'
--- database/schema/patch-2209-56-4.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-56-4.sql	2018-12-05 11:09:58 +0000
@@ -0,0 +1,8 @@
+-- Copyright 2018 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 livefsfile__libraryfile__idx ON livefsfile(libraryfile);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 56, 4);


References