Skip to content
Snippets Groups Projects
Commit 6cc3f4e9 authored by Mayra Cabrera's avatar Mayra Cabrera
Browse files

Update app/models/project.rb

parent b04fcdbb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -244,9 +244,7 @@ class Project < ApplicationRecord
 
has_many :prometheus_metrics
 
# Container repositories need to remove data from the container registry,
# which is not managed by the DB. Hence we're still using dependent: :destroy
# here.
has_many :container_repositories, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent
 
has_many :commit_statuses
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment