projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix migration
[akkoma]
/
priv
/
repo
/
migrations
/
20190127151220_add_activities_likes_index.exs
1
defmodule Pleroma.Repo.Migrations.AddActivitiesLikesIndex do
2
use Ecto.Migration
3
@disable_ddl_transaction true
4
5
def change do
6
create index(:activities, ["((data #> '{\"object\",\"likes\"}'))"], concurrently: true, name: :activities_likes, using: :gin)
7
end
8
end