Ioana Lasc has proposed merging ~ilasc/launchpad:add-index-store-upload-revision into launchpad:master.
Commit message: Add Index on (snap, store_upload_revision) to SnapBuild Requested reviews: Launchpad code reviewers (launchpad-reviewers) For more details, see: https://code.launchpad.net/~ilasc/launchpad/+git/launchpad/+merge/407682 -- Your team Launchpad code reviewers is requested to review the proposed merge of ~ilasc/launchpad:add-index-store-upload-revision into launchpad:master.
diff --git a/database/schema/patch-2210-35-1.sql b/database/schema/patch-2210-35-1.sql new file mode 100644 index 0000000..9a7db2d --- /dev/null +++ b/database/schema/patch-2210-35-1.sql @@ -0,0 +1,9 @@ +-- Copyright 2021 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 snapbuild__snap__store_upload_revision__idx +ON SnapBuild(snap, store_upload_revision); + +INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 35, 1);
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

