projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add GIN index on object data->'name'
[akkoma]
/
priv
/
repo
/
migrations
/
20190522084924_add_object_index_on_name.exs
1
defmodule Pleroma.Repo.Migrations.AddObjectIndexOnName do
2
use Ecto.Migration
3
4
def change do
5
create(index(:objects, ["(data->'name')"], name: :objects_name_index, using: :gin))
6
end
7
end