Merge pull request 'Manually define PATH for Arch Linux users in systemd unit' (...
[akkoma] / priv / repo / 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