Drop old indices

Related: https://pagure.io/koji/issue/3160
This commit is contained in:
Tomas Kopecek 2022-05-12 13:04:14 +02:00
parent c011a7eca2
commit 7c6cac1fa0

View file

@ -0,0 +1,13 @@
-- upgrade script to migrate the Koji database schema
-- from version 1.29 to 1.30
BEGIN;
-- clean some unused old indices if they still exist
-- https://pagure.io/koji/issue/3160
DROP INDEX IF EXISTS image_listing_archives;
DROP INDEX IF EXISTS image_listing_rpms;
DROP INDEX IF EXISTS imageinfo_listing_rpms;
COMMIT;