From ef04f3879ac3bd7ec6dddd6cb843c8cdb79a1175 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 7 Aug 2019 01:08:07 -0500 Subject: add option to automatically space out boosts over configurable random intervals --- app/models/status.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/status.rb') diff --git a/app/models/status.rb b/app/models/status.rb index 9f11e6d5d..a2d64ecf0 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -76,6 +76,8 @@ class Status < ApplicationRecord has_many :active_mentions, -> { active }, class_name: 'Mention', inverse_of: :status has_many :media_attachments, dependent: :nullify + has_many :queued_boosts, dependent: :destroy, inverse_of: :status + has_and_belongs_to_many :tags has_and_belongs_to_many :preview_cards -- cgit