aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-09-18 21:54:31 +0700
committerAriadne Conill <ariadne@dereferenced.org>2019-10-04 21:59:17 +0000
commit67d772dd73af7adb2dfb912298c194fa796a72f9 (patch)
tree8d1373986dceb4af24cdb86bf9bc5f53dc16615b /lib/pleroma/notification.ex
parent1dd6d81ddf6a4d20830a7a9086e843b4aafda05f (diff)
downloadpleroma-67d772dd73af7adb2dfb912298c194fa796a72f9.tar.gz
Replace `Pleroma.FlakeId` with `flake_id` hex package
Diffstat (limited to 'lib/pleroma/notification.ex')
-rw-r--r--lib/pleroma/notification.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex
index 8012389ac..d94ae5971 100644
--- a/lib/pleroma/notification.ex
+++ b/lib/pleroma/notification.ex
@@ -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