Index users by ap_id.

This commit is contained in:
Roger Braun 2017-05-07 00:21:15 +02:00
parent fcd34096db
commit ff2945dfdc

View file

@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAPID do
use Ecto.Migration
def change do
create unique_index(:users, [:ap_id])
end
end