pleroma/priv/repo/migrations/20170620095947_remove_activities_index.exs
Roger Braun 3d714f85a8 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.
2017-06-20 12:00:58 +02:00

8 lines
144 B
Elixir

defmodule Pleroma.Repo.Migrations.RemoveActivitiesIndex do
use Ecto.Migration
def change do
drop index(:activities, [:data])
end
end