234d33735f18ac4d767f825ba4a56ac5caa2eb00
[akkoma] / 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 create index(:users, [:following], concurrently: true, using: :gin)
8 end
9 end