forked from mirrors/akkoma
Delete notifications on activity deletion.
This commit is contained in:
parent
bad499b3fd
commit
ef2322bdb7
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ defmodule Pleroma.Activity do
|
|||
field :data, :map
|
||||
field :local, :boolean, default: true
|
||||
field :actor, :string
|
||||
has_many :notifications, Notification
|
||||
has_many :notifications, Notification, on_delete: :delete_all
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue