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
/
20180903114437_users_add_is_moderator_index.exs
1
defmodule Pleroma.Repo.Migrations.UsersAddIsModeratorIndex do
2
use Ecto.Migration
3
4
def change do
5
create_if_not_exists(
6
index(:users, ["(info->'is_moderator')"], name: :users_is_moderator_index, using: :gin)
7
)
8
end
9
end