akkoma/priv/repo/migrations/20190228121252_users_add_disabled_index.exs

8 lines
199 B
Elixir
Raw Normal View History

defmodule Pleroma.Repo.Migrations.UsersAddDisabledIndex do
use Ecto.Migration
def change do
create(index(:users, ["(info->'disabled')"], name: :users_disabled_index, using: :gin))
end
end