summaryrefslogtreecommitdiff
path: root/app/models/namespace/detail.rb
blob: a5643ab9f790d81dd4b6e637bbcf05cb7869be9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class Namespace::Detail < ApplicationRecord
  include IgnorableColumns

  ignore_column :free_user_cap_over_limt_notified_at, remove_with: '15.7', remove_after: '2022-11-22'

  belongs_to :namespace, inverse_of: :namespace_details
  validates :namespace, presence: true
  validates :description, length: { maximum: 255 }

  self.primary_key = :namespace_id
end