projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix aliases sorting
[akkoma]
/
lib
/
pleroma
/
registration.ex
diff --git
a/lib/pleroma/registration.ex
b/lib/pleroma/registration.ex
index 21fd1fc3ff08984fad37f238925fd8c753d10465..7b49618e1ecfe4fcd5e8d4508bfef1d59055c785 100644
(file)
--- a/
lib/pleroma/registration.ex
+++ b/
lib/pleroma/registration.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
21
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Registration do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Registration do
@@
-11,10
+11,10
@@
defmodule Pleroma.Registration do
alias Pleroma.Repo
alias Pleroma.User
alias Pleroma.Repo
alias Pleroma.User
- @primary_key {:id,
Pleroma.FlakeId
, autogenerate: true}
+ @primary_key {:id,
FlakeId.Ecto.CompatType
, autogenerate: true}
schema "registrations" do
schema "registrations" do
- belongs_to(:user, User, type:
Pleroma.FlakeId
)
+ belongs_to(:user, User, type:
FlakeId.Ecto.CompatType
)
field(:provider, :string)
field(:uid, :string)
field(:info, :map, default: %{})
field(:provider, :string)
field(:uid, :string)
field(:info, :map, default: %{})