gitlab-org--gitlab-foss/app/models/dependency_proxy/group_setting.rb

9 lines
183 B
Ruby

# frozen_string_literal: true
class DependencyProxy::GroupSetting < ApplicationRecord
belongs_to :group
validates :group, presence: true
default_value_for :enabled, true
end