From: Egor Kislitsyn Date: Mon, 3 Jun 2019 11:57:24 +0000 (+0700) Subject: Create index on `activities.local` X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=17004a0f1a227d1ba8400fcdd5d351de83b09673;p=akkoma Create index on `activities.local` --- diff --git a/priv/repo/migrations/20190603115238_add_index_on_activities_local.exs b/priv/repo/migrations/20190603115238_add_index_on_activities_local.exs new file mode 100644 index 000000000..89daa9705 --- /dev/null +++ b/priv/repo/migrations/20190603115238_add_index_on_activities_local.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddIndexOnActivitiesLocal do + use Ecto.Migration + + def change do + create(index("activities", [:local])) + end +end