• Thong Kuah's avatar
    Remove ci_pending_builds FK to projects · 671e495b
    Thong Kuah authored
    We already have a ci_pending_builds FK to ci_builds.
    ci_builds in turn have a FK to projects. So this FK should
    be safe to remove.
    
    With this change when project is deleted, dependent ci_pending_builds
    will either be:
    
    - deleted via loose foreign keys
    - deleted via FK cascade projects -> ci_builds -> ci_pending_builds
    
    Changelog: other
    671e495b
pending_build_spec.rb 7.23 KB