diff options
author | Lain Iwakura <lain@soykaf.club> | 2017-11-30 15:00:12 +0100 |
---|---|---|
committer | Lain Iwakura <lain@soykaf.club> | 2017-11-30 15:00:12 +0100 |
commit | 50dca016f238e802bcb4f9433b8ab06398e0bf21 (patch) | |
tree | 8bea87d21ddedb3dcc44a6166ff85ce744be020f | |
parent | 5637d163e6eb365c69f0e79e43306156241f6494 (diff) | |
download | pleroma-50dca016f238e802bcb4f9433b8ab06398e0bf21.tar.gz |
Add count index for local users.
-rw-r--r-- | priv/repo/migrations/20171130135819_add_local_index_to_user.exs | 7 |
1 files changed, 7 insertions, 0 deletions
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 |