Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
619337 - making trigger also delete the repodata for a package if the…
Browse files Browse the repository at this point in the history
… md5sum changes
  • Loading branch information
jlsherrill committed Aug 25, 2010
1 parent 3e92e3a commit 6df7327
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schema/spacewalk/oracle/triggers/rhnPackage.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ begin
from rhnChannel C inner join
rhnChannelPackage CP on CP.channel_id = C.id
where CP.package_id = :new.id);
delete from rhnPackageRepodata where package_id = :new.id;
end if;

end;
Expand Down

0 comments on commit 6df7327

Please sign in to comment.