blob: 9831a1b827ab19e2d20ff21145d880b713d533b0 (
plain)
1
2
3
4
5
6
7
8
|
defmodule Pleroma.Repo.Migrations.CreateApidHostExtractionIndex do
use Ecto.Migration
@disable_ddl_transaction true
def change do
create index(:activities, ["(split_part(actor, '/', 3))"], concurrently: true, name: :activities_hosts)
end
end
|