fix schema.sql introduced by moving owner from tag_packages to another table
related: https://pagure.io/koji/pull-request/1473 fixes: https://pagure.io/koji/issue/956
This commit is contained in:
parent
bf624f5699
commit
417d230277
2 changed files with 2 additions and 3 deletions
|
|
@ -51,7 +51,8 @@ END
|
|||
$BODY$
|
||||
LANGUAGE plpgsql;
|
||||
|
||||
INSERT INTO tag_package_owners (SELECT package_id, tag_id, owner create_event revoke_event creator_id revoker_id active FROM convert_owners());
|
||||
INSERT INTO tag_package_owners (SELECT package_id, tag_id, owner, create_event, revoke_event, creator_id, revoker_id, active FROM convert_owners());
|
||||
DROP INDEX IF EXISTS tag_packages_owner;
|
||||
ALTER TABLE tag_packages DROP COLUMN owner;
|
||||
DROP FUNCTION convert_owners();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue