From 29c261e75ba10eac0cda8ec19d158d84c96f6572 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 24 Oct 2017 11:07:21 +0200 Subject: [PATCH] Drop superflous index. --- priv/repo/migrations/20171024090137_drop_object_index.exs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 priv/repo/migrations/20171024090137_drop_object_index.exs diff --git a/priv/repo/migrations/20171024090137_drop_object_index.exs b/priv/repo/migrations/20171024090137_drop_object_index.exs new file mode 100644 index 000000000..29b4c9333 --- /dev/null +++ b/priv/repo/migrations/20171024090137_drop_object_index.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.DropObjectIndex do + use Ecto.Migration + + def change do + drop_if_exists index(:objects, [:data], using: :gin) + end +end -- 2.45.2