ChatMessageReference: Use FlakeId.Ecto.Type

No need for compat because this is brand new.
This commit is contained in:
lain 2020-06-06 10:42:24 +02:00
parent 239d03499e
commit 137adef6e0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ defmodule Pleroma.ChatMessageReference do
import Ecto.Changeset
import Ecto.Query
@primary_key {:id, FlakeId.Ecto.CompatType, autogenerate: true}
@primary_key {:id, FlakeId.Ecto.Type, autogenerate: true}
schema "chat_message_references" do
belongs_to(:object, Object)