Welcome to mirror list, hosted at ThFree Co, Russian Federation.

admin_note.rb « namespace « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3de809d60bea2f1091fafd38e9e6ddcd845b0939 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

class Namespace::AdminNote < ApplicationRecord
  belongs_to :namespace, inverse_of: :admin_note
  validates :namespace, presence: true
  validates :note, length: { maximum: 1000 }
end