Add count index for local users.

This commit is contained in:
Lain Iwakura 2017-11-30 15:00:12 +01:00
parent 5637d163e6
commit 50dca016f2

View file

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