Merge develop
[akkoma] / priv / repo / migrations / 20190405160700_add_index_on_subscribers.exs
1 defmodule Pleroma.Repo.Migrations.AddIndexOnSubscribers do
2 use Ecto.Migration
3
4 @disable_ddl_transaction true
5 def change do
6 create index(:users, ["(info->'subscribers')"], name: :users_subscribers_index, using: :gin, concurrently: true)
7 end
8 end