e0cfa4f Fix the M:N SQL join in RebuildImagesOnODCSComposeDone.

Authored and Committed by jkaluza 5 years ago
    Fix the M:N SQL join in RebuildImagesOnODCSComposeDone.
    
    The old code did not join with ArtifactBuildCompose but only with
    Compose. The ArtifactBuild to Compose mapping was therefore wrong
    and the SQL query returned all the PLANNED ArtifactBuilds no matter
    what the compose ID was.
    
    In this commit, the ArtifactBuildCompose join is added and only
    ArtifactBuilds with matching compose ID are returned as expected.