Chats: Change id to flake id.
This commit is contained in:
parent
0365053c8d
commit
1a11f0e453
3 changed files with 27 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ defmodule Pleroma.Chat.MessageReference do
|
|||
|
||||
schema "chat_message_references" do
|
||||
belongs_to(:object, Object)
|
||||
belongs_to(:chat, Chat)
|
||||
belongs_to(:chat, Chat, type: FlakeId.Ecto.CompatType)
|
||||
|
||||
field(:unread, :boolean, default: true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue