akkoma/priv/repo/migrations/20190228121252_users_add_disabled_index.exs
2019-03-04 19:55:11 +07:00

8 lines
199 B
Elixir

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