mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-10 01:31:45 +00:00
12 lines
290 B
Ruby
12 lines
290 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Namespaces
|
|
class LdapSetting < ApplicationRecord
|
|
belongs_to :namespace, inverse_of: :namespace_ldap_settings
|
|
validates :namespace, presence: true
|
|
|
|
self.primary_key = :namespace_id
|
|
self.table_name = 'namespace_ldap_settings'
|
|
end
|
|
end
|