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

@ -12,7 +12,7 @@ defmodule Pleroma.PasswordResetToken do
alias Pleroma.User
schema "password_reset_tokens" do
belongs_to(:user, User, type: Pleroma.FlakeId)
belongs_to(:user, User, type: FlakeId.Ecto.CompatType)
field(:token, :string)
field(:used, :boolean, default: false)