about summary refs log blame commit diff
path: root/app/models/conversation_mute.rb
blob: 5d56a3172f6ca7201f7fb3797012ddaff1d8b077 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                

                                                          
                                                             

                                          
                                                      
   
# frozen_string_literal: true
# == Schema Information
#
# Table name: conversation_mutes
#
#  id              :bigint(8)        not null, primary key
#  conversation_id :bigint(8)        not null
#  account_id      :bigint(8)        not null
#  hidden          :boolean          default(FALSE), not null
#

class ConversationMute < ApplicationRecord
  belongs_to :account, inverse_of: :conversation_mutes
  belongs_to :conversation, inverse_of: :mutes
end