BigW Consortium Gitlab

chat_team.rb 143 Bytes
Newer Older
1 2
class ChatTeam < ActiveRecord::Base
  validates :team_id, presence: true
3
  validates :namespace, uniqueness: true
4 5 6

  belongs_to :namespace
end