about summary refs log tree commit diff
path: root/app/models/conversation_kick.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-12 04:38:56 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-12 04:38:56 -0600
commita8713ee8b73ef63dab45c3c4db949dbfc49a6381 (patch)
tree51bc07def409119d246bbbcf4e123ebc0572470a /app/models/conversation_kick.rb
parent90373b7f3190e86882e764d9cf595f7345a97245 (diff)
add ability for post authors to kick jerks out of their threads
Diffstat (limited to 'app/models/conversation_kick.rb')
-rw-r--r--app/models/conversation_kick.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/models/conversation_kick.rb b/app/models/conversation_kick.rb
new file mode 100644
index 000000000..c2dbdf50b
--- /dev/null
+++ b/app/models/conversation_kick.rb
@@ -0,0 +1,13 @@
+# == Schema Information
+#
+# Table name: conversation_kicks
+#
+#  id              :bigint(8)        not null, primary key
+#  account_id      :bigint(8)        not null
+#  conversation_id :bigint(8)        not null
+#
+
+class ConversationKick < ApplicationRecord
+  belongs_to :account
+  belongs_to :conversation
+end