ChatMessageReference: Use FlakeId.Ecto.Type
authorlain <lain@soykaf.club>
Sat, 6 Jun 2020 08:42:24 +0000 (10:42 +0200)
committerlain <lain@soykaf.club>
Sat, 6 Jun 2020 08:42:24 +0000 (10:42 +0200)
No need for compat because this is brand new.

lib/pleroma/chat_message_reference.ex

index fc2aaae7a3897d0ea15a727ca5834b106f019c3c..6e836cad9cc79ba5f062e564e4c29b73b40e9983 100644 (file)
@@ -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)