projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c410dcdc23f4d9f58a7dd26ae968e4d40e38f2c1
[akkoma]
/
migrations
/
20190823000549_add_likes_index_to_objects.exs
1
defmodule Pleroma.Repo.Migrations.AddLikesIndexToObjects do
2
use Ecto.Migration
3
4
def change do
5
create_if_not_exists(index(:objects, ["(data->'likes')"], using: :gin, name: :objects_likes))
6
end
7
end