Add index for user follower address.
[akkoma] / priv / repo / migrations / 20180325172351_add_follower_address_index_to_users.exs
1 defmodule Pleroma.Repo.Migrations.AddFollowerAddressIndexToUsers do
2 use Ecto.Migration
3
4 @disable_ddl_transaction true
5 def change do
6 create index(:users, [:follower_address], concurrently: true)
7 end
8 end