Merge remote-tracking branch 'upstream/develop' into pr-upstream-http-proxy
[akkoma] / lib / pleroma / activity.ex
index a35ccc9b415cff3ab73cb21c8f852b55a9cccdc1..afd09982fcd45211249c0c4cac75f80fefaf65db 100644 (file)
@@ -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