From: Roger Braun Date: Tue, 24 Oct 2017 09:07:21 +0000 (+0200) Subject: Drop superflous index. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=29c261e75ba10eac0cda8ec19d158d84c96f6572;p=akkoma Drop superflous index. --- 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