mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-07-03 20:35:53 +00:00
be56801dda
Fixes the performance of `get_existing_votes`
8 lines
196 B
Elixir
8 lines
196 B
Elixir
defmodule Pleroma.Repo.Migrations.AddObjectInReplyToIndex do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create index(:objects, ["(data->>'inReplyTo')"], name: :objects_in_reply_to_index)
|
|
end
|
|
end
|