ba6ff78b5e1b8dbf0ac428916e6778eeca3b0cd8
[akkoma] / priv / repo / migrations / 20190123092341_users_add_is_admin_index.exs
1 defmodule Pleroma.Repo.Migrations.UsersAddIsAdminIndex do
2 use Ecto.Migration
3
4 def change do
5 create(index(:users, ["(info->'is_admin')"], name: :users_is_admin_index, using: :gin))
6 end
7 end