gitlab-org--gitlab-foss/app/models/namespace_setting.rb

9 lines
227 B
Ruby

# frozen_string_literal: true
class NamespaceSetting < ApplicationRecord
belongs_to :namespace, inverse_of: :namespace_settings
self.primary_key = :namespace_id
end
NamespaceSetting.prepend_if_ee('EE::NamespaceSetting')