Skip to content
Snippets Groups Projects
Commit 3d714f85 authored by lain's avatar lain
Browse files

Drop the general index on activities.

Indices should be more specific as the general index can lead to
slower queries because postgres can't estimate the specificity of
jsonb indexes very well.
parent 1e6491ec
No related branches found
No related tags found
No related merge requests found
defmodule Pleroma.Repo.Migrations.RemoveActivitiesIndex do
use Ecto.Migration
def change do
drop index(:activities, [:data])
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment