Adjust order of with_options to emoji patch

This commit is contained in:
Jeremy Kescher 2023-05-09 21:30:51 +02:00
parent d183f8c306
commit 4b9437b9d4
No known key found for this signature in database
GPG key ID: 80A419A7A613DFA4

View file

@ -64,9 +64,9 @@ class Notification < ApplicationRecord
belongs_to :follow, inverse_of: :notification
belongs_to :follow_request, inverse_of: :notification
belongs_to :favourite, inverse_of: :notification
belongs_to :status_reaction, inverse_of: :notification
belongs_to :poll, inverse_of: false
belongs_to :report, inverse_of: false
belongs_to :status_reaction, inverse_of: :notification
end
validates :type, inclusion: { in: TYPES }