debian-mirror-gitlab/app/models/namespaces/ldap_setting.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
290 B
Ruby
Raw Permalink Normal View History

2023-05-27 22:25:52 +05:30
# 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