projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Generate instance stats on startup
[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_if_not_exists(
6
index(:users, ["(info->'is_admin')"], name: :users_is_admin_index, using: :gin)
7
)
8
end
9
end