Replace Pleroma.FlakeId with flake_id hex package

This commit is contained in:
Egor Kislitsyn 2019-09-18 21:54:31 +07:00
commit b5dfe83433
25 changed files with 35 additions and 262 deletions

View file

@ -21,7 +21,7 @@ defmodule Pleroma.Activity do
@type t :: %__MODULE__{}
@type actor :: String.t()
@primary_key {:id, Pleroma.FlakeId, autogenerate: true}
@primary_key {:id, FlakeId.Ecto.CompatType, autogenerate: true}
# https://github.com/tootsuite/mastodon/blob/master/app/models/notification.rb#L19
@mastodon_notification_types %{