Add option to modify HTTP pool size
[akkoma] / priv / repo / migrations / 20170917120416_add_tag_index.exs
1 defmodule Pleroma.Repo.Migrations.AddTagIndex do
2 use Ecto.Migration
3
4 @disable_ddl_transaction true
5
6 def change do
7 create(
8 index(:activities, ["(data #> '{\"object\",\"tag\"}')"],
9 concurrently: true,
10 using: :gin,
11 name: :activities_tags
12 )
13 )
14 end
15 end