← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:db-revert-bpph-creator-index into launchpad:db-devel

 

Colin Watson has proposed merging ~cjwatson/launchpad:db-revert-bpph-creator-index into launchpad:db-devel.

Commit message:
Temporarily revert BPPH(creator) index

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/380876

We need to have a db-devel commit that includes 2210-11-1 (the new column) but not 2210-11-2 (the index), in order that the fastdowntime machinery can do the right thing.

The index will need to be landed on master later.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:db-revert-bpph-creator-index into launchpad:db-devel.
diff --git a/database/schema/patch-2210-11-2.sql b/database/schema/patch-2210-11-2.sql
deleted file mode 100644
index 0fc12bc..0000000
--- a/database/schema/patch-2210-11-2.sql
+++ /dev/null
@@ -1,9 +0,0 @@
--- Copyright 2020 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 binarypackagepublishinghistory__creator__idx ON
-    binarypackagepublishinghistory(creator) WHERE creator IS NOT NULL;
-
-INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 11, 2);