Merge remote-tracking branch 'upstream/develop' into pr-upstream-http-proxy
[akkoma] / lib / pleroma / activity.ex
index f43b32b565a502c8338b2d9a655577fc906b1a2b..afd09982fcd45211249c0c4cac75f80fefaf65db 100644 (file)
@@ -6,7 +6,8 @@ defmodule Pleroma.Activity do
   schema "activities" do
     field :data, :map
     field :local, :boolean, default: true
-    has_many :notifications, Notification
+    field :actor, :string
+    has_many :notifications, Notification, on_delete: :delete_all
 
     timestamps()
   end