move migration to correct script

Fixes: https://pagure.io/koji/issue/2521
This commit is contained in:
Tomas Kopecek 2020-10-05 10:25:18 +02:00
parent 9191474888
commit 1a2efb49f1
2 changed files with 1 additions and 9 deletions

View file

@ -6,6 +6,7 @@ BEGIN;
CREATE INDEX task_by_no_parent_state_method ON task(parent, state, method) WHERE parent IS NULL;
ALTER TABLE tag_extra ALTER COLUMN value DROP NOT NULL;
-- Message queue for the protonmsg plugin
CREATE TABLE proton_queue (

View file

@ -1,9 +0,0 @@
-- upgrade script to migrate the Koji database schema
-- from version 1.23 to 1.24
BEGIN;
ALTER TABLE tag_extra ALTER COLUMN value DROP NOT NULL;
COMMIT;