Index users by ap_id.
This commit is contained in:
parent
fcd34096db
commit
ff2945dfdc
@ -0,0 +1,7 @@
|
||||
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAPID do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create unique_index(:users, [:ap_id])
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user