From: lain Date: Sat, 6 Jun 2020 08:42:24 +0000 (+0200) Subject: ChatMessageReference: Use FlakeId.Ecto.Type X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=137adef6e061a1d7d7fc704feac27ebf5319a768;p=akkoma ChatMessageReference: Use FlakeId.Ecto.Type No need for compat because this is brand new. --- diff --git a/lib/pleroma/chat_message_reference.ex b/lib/pleroma/chat_message_reference.ex index fc2aaae7a..6e836cad9 100644 --- a/lib/pleroma/chat_message_reference.ex +++ b/lib/pleroma/chat_message_reference.ex @@ -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)