From 67bcc3ccc433bd5c7b59f5bf1a45db93da93d093 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 1 Jun 2019 21:49:18 +0300 Subject: [PATCH] Remove index on object name used for excluding poll votes (replaced by just rewriting Note to Answer) --- priv/repo/migrations/20190522084924_add_object_index_on_name.exs | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 priv/repo/migrations/20190522084924_add_object_index_on_name.exs diff --git a/priv/repo/migrations/20190522084924_add_object_index_on_name.exs b/priv/repo/migrations/20190522084924_add_object_index_on_name.exs deleted file mode 100644 index 886e8499e..000000000 --- a/priv/repo/migrations/20190522084924_add_object_index_on_name.exs +++ /dev/null @@ -1,7 +0,0 @@ -defmodule Pleroma.Repo.Migrations.AddObjectIndexOnName do - use Ecto.Migration - - def change do - create(index(:objects, ["(data->'name')"], name: :objects_name_index, using: :gin)) - end -end