koji sync from stg: attempt to fix the migration
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
1a1f7d79e4
commit
542cc75a07
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ update build set volume_id=(select id from volume where name='prod') where volum
|
||||||
-- files are not there; keeping rpminfo's ma
|
-- files are not there; keeping rpminfo's ma
|
||||||
delete from archive_rpm_components where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1));
|
delete from archive_rpm_components where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1));
|
||||||
delete from image_listing where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1));
|
delete from image_listing where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1));
|
||||||
|
delete from buildroot_listing where rpm_id in (select id from rpminfo where build_id in (select id from build where state<>1));
|
||||||
delete from rpminfo where build_id in (select id from build where state<>1);
|
delete from rpminfo where build_id in (select id from build where state<>1);
|
||||||
|
|
||||||
-- expire any active buildroots
|
-- expire any active buildroots
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue