From 17004a0f1a227d1ba8400fcdd5d351de83b09673 Mon Sep 17 00:00:00 2001 From: Egor Kislitsyn Date: Mon, 3 Jun 2019 18:57:24 +0700 Subject: [PATCH] Create index on `activities.local` --- .../20190603115238_add_index_on_activities_local.exs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 priv/repo/migrations/20190603115238_add_index_on_activities_local.exs 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 -- 2.45.2