forked from YokaiRick/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 :data, :map
|
||||||
field :local, :boolean, default: true
|
field :local, :boolean, default: true
|
||||||
field :actor, :string
|
field :actor, :string
|
||||||
has_many :notifications, Notification
|
has_many :notifications, Notification, on_delete: :delete_all
|
||||||
|
|
||||||
timestamps()
|
timestamps()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue