projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add migration for counter_cache table update
[akkoma]
/
priv
/
repo
/
migrations
/
20190411094120_add_index_on_user_info_deactivated.exs
1
defmodule Pleroma.Repo.Migrations.AddIndexOnUserInfoDeactivated do
2
use Ecto.Migration
3
4
def change do
5
create_if_not_exists(
6
index(:users, ["(info->'deactivated')"], name: :users_deactivated_index, using: :gin)
7
)
8
end
9
end