summaryrefslogtreecommitdiff
path: root/app/models/chat_team.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/chat_team.rb')
-rw-r--r--app/models/chat_team.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/chat_team.rb b/app/models/chat_team.rb
new file mode 100644
index 00000000000..7952141a0d6
--- /dev/null
+++ b/app/models/chat_team.rb
@@ -0,0 +1,5 @@
+class ChatTeam < ActiveRecord::Base
+ validates :team_id, presence: true
+
+ belongs_to :namespace
+end