Gitlab: Run benchmark in CI.
[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 index(:activities, ["(split_part(actor, '/', 3))"], concurrently: true, name: :activities_hosts)
7 end
8 end