ChatMessageReference: Use FlakeId.Ecto.Type
No need for compat because this is brand new.
This commit is contained in:
parent
239d03499e
commit
137adef6e0
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user