blob: 1fee6fd7a4ae9d58e8bf4f9389f806c07ea32ef8 (
plain)
| 1
2
3
4
5
6
7
8
 | defmodule Pleroma.Repo.Migrations.CreateActivitiesInReplyToIndex do
  use Ecto.Migration
  @disable_ddl_transaction true
  def change do
    create index(:activities, ["(data->'object'->>'inReplyTo')"], concurrently: true, name: :activities_in_reply_to)
  end
end
 |