diff options
Diffstat (limited to 'app/models/dependency_proxy/group_setting.rb')
-rw-r--r-- | app/models/dependency_proxy/group_setting.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/models/dependency_proxy/group_setting.rb b/app/models/dependency_proxy/group_setting.rb new file mode 100644 index 00000000000..bcf09b27129 --- /dev/null +++ b/app/models/dependency_proxy/group_setting.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class DependencyProxy::GroupSetting < ApplicationRecord + belongs_to :group + + validates :group, presence: true + + default_value_for :enabled, true +end |