Autofix Rubocop Rails/RedundantForeignKey (#23731)
This commit is contained in:
		@@ -53,7 +53,7 @@ class Status < ApplicationRecord
 | 
			
		||||
  belongs_to :application, class_name: 'Doorkeeper::Application', optional: true
 | 
			
		||||
 | 
			
		||||
  belongs_to :account, inverse_of: :statuses
 | 
			
		||||
  belongs_to :in_reply_to_account, foreign_key: 'in_reply_to_account_id', class_name: 'Account', optional: true
 | 
			
		||||
  belongs_to :in_reply_to_account, class_name: 'Account', optional: true
 | 
			
		||||
  belongs_to :conversation, optional: true
 | 
			
		||||
  belongs_to :preloadable_poll, class_name: 'Poll', foreign_key: 'poll_id', optional: true
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user