diff options
Diffstat (limited to 'app/models/ci/resource.rb')
-rw-r--r-- | app/models/ci/resource.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/models/ci/resource.rb b/app/models/ci/resource.rb deleted file mode 100644 index ee5b6546165..00000000000 --- a/app/models/ci/resource.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module Ci - class Resource < ApplicationRecord - extend Gitlab::Ci::Model - - belongs_to :resource_group, class_name: 'Ci::ResourceGroup', inverse_of: :resources - belongs_to :build, class_name: 'Ci::Build', inverse_of: :resource - - scope :free, -> { where(build: nil) } - scope :retained_by, -> (build) { where(build: build) } - end -end |