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

chat_team.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c52b6f1591377e8af025068cd98d7e7b6bb4bd0c (plain)
1
2
3
4
5
6
class ChatTeam < ActiveRecord::Base
  validates :team_id, presence: true
  validates :namespace, uniqueness: true

  belongs_to :namespace
end