projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
239d034
)
ChatMessageReference: Use FlakeId.Ecto.Type
author
lain
<lain@soykaf.club>
Sat, 6 Jun 2020 08:42:24 +0000
(10:42 +0200)
committer
lain
<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
patch
|
blob
|
history
diff --git
a/lib/pleroma/chat_message_reference.ex
b/lib/pleroma/chat_message_reference.ex
index fc2aaae7a3897d0ea15a727ca5834b106f019c3c..6e836cad9cc79ba5f062e564e4c29b73b40e9983 100644
(file)
--- 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.
Compat
Type, autogenerate: true}
+ @primary_key {:id, FlakeId.Ecto.Type, autogenerate: true}
schema "chat_message_references" do
belongs_to(:object, Object)