diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-21 01:44:16 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:44:01 -0500 |
commit | 263ead73616dba43a0337c2a3edaf96a6382d533 (patch) | |
tree | ca47a9366dbbdf95018c55bde32b59d6b05c8299 /app/models/status_mute.rb | |
parent | 21de9efc2d89ce8dbb9edb997f8a3b99f831d05a (diff) |
[Feature] Add post and thread (un)hiding to backend
Diffstat (limited to 'app/models/status_mute.rb')
-rw-r--r-- | app/models/status_mute.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/models/status_mute.rb b/app/models/status_mute.rb new file mode 100644 index 000000000..3bfd9d51f --- /dev/null +++ b/app/models/status_mute.rb @@ -0,0 +1,14 @@ +# 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 + belongs_to :account, inverse_of: :status_mutes + belongs_to :status, inverse_of: :mutes +end |