PR#2523: move migration to correct script

Merges #2523
https://pagure.io/koji/pull-request/2523

Fixes: #2521
https://pagure.io/koji/issue/2521
tag_extra schema change in wrong upgrade script
This commit is contained in:
Tomas Kopecek 2020-10-05 10:26:22 +02:00
commit dcf235e845
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;