forked from mirrors/akkoma
Index users by ap_id.
This commit is contained in:
parent
fcd34096db
commit
ff2945dfdc
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue