about summary refs log tree commit diff
path: root/app/models/status_mute.rb
blob: 0d7f9ec786860a68375d0ef11734670db1c0351b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true
# == Schema Information
#
# Table name: status_mutes
#
#  id         :bigint(8)        not null, primary key
#  account_id :integer          not null
#  status_id  :bigint(8)        not null
#

class StatusMute < ApplicationRecord
  include Cacheable

  belongs_to :account, inverse_of: :status_mutes
  belongs_to :status, inverse_of: :mutes

  cache_associated :account, :status
end