logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: b56bb88c02dcbbc16ca3f861df5d5e09828fc56a
parent: 37e5014d3ee571622d324cdadfc2bf7c345cc1fc
Author: lain <lain@soykaf.club>
Date:   Tue, 27 Mar 2018 19:48:01 +0200

Drop index for 'local', it confuses the query planner.

Diffstat:

Apriv/repo/migrations/20180327174350_drop_local_index_on_activities.exs7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs b/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.DropLocalIndexOnActivities do + use Ecto.Migration + + def change do + drop index(:users, [:local]) + end +end