debian-mirror-gitlab/app/models/dependency_proxy/group_setting.rb

10 lines
183 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# frozen_string_literal: true
class DependencyProxy::GroupSetting < ApplicationRecord
belongs_to :group
validates :group, presence: true
default_value_for :enabled, true
end