projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c69e0ef8fd141ed55bdfea6ccac41dcc52b59ea1
[akkoma]
/
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