Merge branch 'fix/config-md-typos' into 'develop'
[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 index(:activities, ["(data #> '{\"object\",\"tag\"}')"], concurrently: true, using: :gin, name: :activities_tags)
8 end
9 end