projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f42d464279eb46a6dca3ccef03e5025b1bd33bae
[akkoma]
/
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_if_not_exists(
6
index(:users, ["(info->'is_admin')"], name: :users_is_admin_index, using: :gin)
7
)
8
end
9
end