projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'develop' into refactor/following-relationships
[akkoma]
/
priv
/
repo
/
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(
8
index(:objects, ["(data->>'actor')", "(data->>'type')"],
9
concurrently: true,
10
name: :objects_actor_type
11
)
12
)
13
end
14
end