Explorar el Código

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.
tags/v0.9.9
Roger Braun hace 7 años
padre
commit
3d714f85a8
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      priv/repo/migrations/20170620095947_remove_activities_index.exs

+ 7
- 0
priv/repo/migrations/20170620095947_remove_activities_index.exs Ver fichero

@@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.RemoveActivitiesIndex do
use Ecto.Migration

def change do
drop index(:activities, [:data])
end
end

Cargando…
Cancelar
Guardar