mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-09 17:55:11 +00:00
mark ap_id unique_constraint
This commit is contained in:
parent
1ce1b7b58d
commit
109b01a631
|
@ -237,6 +237,7 @@ defmodule Pleroma.User do
|
|||
changeset
|
||||
|> put_change(:password_hash, hashed)
|
||||
|> put_change(:ap_id, ap_id)
|
||||
|> unique_constraint(:ap_id)
|
||||
|> put_change(:following, [followers])
|
||||
|> put_change(:follower_address, followers)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue