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

View File

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