blob: c8a0e60a0723b224752f16236ac6f4a0d486c543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|