Merge develop
[akkoma] / lib / pleroma / notification.ex
index 931cabc3f40522caf173bf5b06c52d76b11916eb..d19924289793cac3bae56d96c6e5b08fbf01c91a 100644 (file)
@@ -22,8 +22,8 @@ defmodule Pleroma.Notification do
 
   schema "notifications" do
     field(:seen, :boolean, default: false)
-    belongs_to(:user, User, type: Pleroma.FlakeId)
-    belongs_to(:activity, Activity, type: Pleroma.FlakeId)
+    belongs_to(:user, User, type: FlakeId.Ecto.CompatType)
+    belongs_to(:activity, Activity, type: FlakeId.Ecto.CompatType)
 
     timestamps()
   end