Chats: Change id to flake id.

This commit is contained in:
lain 2020-06-07 14:25:30 +02:00
commit 1a11f0e453
3 changed files with 27 additions and 1 deletions

View file

@ -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)