projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
344c9c825dd0f2401e0ace4d17f3c316026f1b65
[akkoma]
/
migrations
/
20171024121413_add_object_actor_index.exs
1
defmodule Pleroma.Repo.Migrations.AddObjectActorIndex do
2
use Ecto.Migration
3
4
@disable_ddl_transaction true
5
6
def change do
7
create index(:objects, ["(data->>'actor')", "(data->>'type')"], concurrently: true, name: :objects_actor_type)
8
end
9
end