projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'release/2.0.6' into 'stable'
[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