projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Enable `mix format` for migrations
[akkoma]
/
priv
/
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