From: Lain Iwakura Date: Thu, 30 Nov 2017 14:00:12 +0000 (+0100) Subject: Add count index for local users. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=50dca016f238e802bcb4f9433b8ab06398e0bf21;p=akkoma Add count index for local users. --- diff --git a/priv/repo/migrations/20171130135819_add_local_index_to_user.exs b/priv/repo/migrations/20171130135819_add_local_index_to_user.exs new file mode 100644 index 000000000..25716be21 --- /dev/null +++ b/priv/repo/migrations/20171130135819_add_local_index_to_user.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddLocalIndexToUser do + use Ecto.Migration + + def change do + create index(:users, [:local]) + end +end