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
1 changed files with 7 additions and 0 deletions

View File

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