Replace Pleroma.FlakeId with flake_id hex package
This commit is contained in:
parent
40c968626d
commit
b5dfe83433
25 changed files with 35 additions and 262 deletions
|
|
@ -6,7 +6,6 @@ defmodule Pleroma.Delivery do
|
|||
use Ecto.Schema
|
||||
|
||||
alias Pleroma.Delivery
|
||||
alias Pleroma.FlakeId
|
||||
alias Pleroma.Object
|
||||
alias Pleroma.Repo
|
||||
alias Pleroma.User
|
||||
|
|
@ -16,7 +15,7 @@ defmodule Pleroma.Delivery do
|
|||
import Ecto.Query
|
||||
|
||||
schema "deliveries" do
|
||||
belongs_to(:user, User, type: FlakeId)
|
||||
belongs_to(:user, User, type: FlakeId.Ecto.CompatType)
|
||||
belongs_to(:object, Object)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue