← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/db-split-snapfile-libraryfile-index into lp:launchpad

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/db-split-snapfile-libraryfile-index into lp:launchpad.

Commit message:
Split SnapFile(libraryfile) index out into a separate patch to respect patch ordering.

Requested reviews:
  Colin Watson (cjwatson)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-split-snapfile-libraryfile-index/+merge/360294
-- 
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== modified file 'database/schema/patch-2209-56-4.sql'
--- database/schema/patch-2209-56-4.sql	2018-12-05 11:25:50 +0000
+++ database/schema/patch-2209-56-4.sql	2018-12-07 11:44:20 +0000
@@ -4,6 +4,5 @@
 SET client_min_messages=ERROR;
 
 CREATE INDEX livefsfile__libraryfile__idx ON livefsfile(libraryfile);
-CREATE INDEX snapfile__libraryfile__idx ON snapfile(libraryfile);
 
 INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 56, 4);

=== added file 'database/schema/patch-2209-69-9.sql'
--- database/schema/patch-2209-69-9.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-69-9.sql	2018-12-07 11:44:20 +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 snapfile__libraryfile__idx ON snapfile(libraryfile);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 69, 9);


References