projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
07b3f28758962f733db3c1b1d21be888865bd9a3
[akkoma]
/
repo
/
migrations
/
20180606173637_create_apid_host_extraction_index.exs
1
defmodule Pleroma.Repo.Migrations.CreateApidHostExtractionIndex do
2
use Ecto.Migration
3
@disable_ddl_transaction true
4
5
def change do
6
create(
7
index(:activities, ["(split_part(actor, '/', 3))"],
8
concurrently: true,
9
name: :activities_hosts
10
)
11
)
12
end
13
end