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:
commit
dcf235e845
2 changed files with 1 additions and 9 deletions
|
|
@ -6,6 +6,7 @@ BEGIN;
|
||||||
|
|
||||||
CREATE INDEX task_by_no_parent_state_method ON task(parent, state, method) WHERE parent IS NULL;
|
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
|
-- Message queue for the protonmsg plugin
|
||||||
CREATE TABLE proton_queue (
|
CREATE TABLE proton_queue (
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue