Update actor
This commit is contained in:
parent
b475f86313
commit
1ce7fdade0
2 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,8 @@ defmodule Nulla.Models.Actor do
|
|||
:publicKey,
|
||||
:endpoints
|
||||
])
|
||||
|> unique_constraint([:preferredUsername, :domain])
|
||||
|> unique_constraint(:ap_id)
|
||||
end
|
||||
|
||||
def create_actor(attrs) when is_map(attrs) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue