From: lain Date: Tue, 27 Mar 2018 17:48:01 +0000 (+0200) Subject: Drop index for 'local', it confuses the query planner. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b56bb88c02dcbbc16ca3f861df5d5e09828fc56a;p=akkoma Drop index for 'local', it confuses the query planner. --- diff --git a/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs b/priv/repo/migrations/20180327174350_drop_local_index_on_activities.exs new file mode 100644 index 000000000..70f2c9fe6 --- /dev/null +++ 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