forked from AkkomaGang/akkoma
Flake Ids for Users and Activities
This commit is contained in:
parent
b624b7a150
commit
28d77e373c
17 changed files with 264 additions and 32 deletions
|
|
@ -10,7 +10,7 @@ defmodule Pleroma.PasswordResetToken do
|
|||
alias Pleroma.{User, PasswordResetToken, Repo}
|
||||
|
||||
schema "password_reset_tokens" do
|
||||
belongs_to(:user, User)
|
||||
belongs_to(:user, User, type: Pleroma.FlakeId)
|
||||
field(:token, :string)
|
||||
field(:used, :boolean, default: false)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue