Skip to content
Snippets Groups Projects
Commit ef2322bd authored by lain's avatar lain
Browse files

Delete notifications on activity deletion.

parent bad499b3
Branches fix-tootdon-image-uploads
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment