Drop superflous index.
authorRoger Braun <rbraun@Bobble.local>
Tue, 24 Oct 2017 09:07:21 +0000 (11:07 +0200)
committerRoger Braun <rbraun@Bobble.local>
Tue, 24 Oct 2017 09:07:21 +0000 (11:07 +0200)
priv/repo/migrations/20171024090137_drop_object_index.exs [new file with mode: 0644]

diff --git a/priv/repo/migrations/20171024090137_drop_object_index.exs b/priv/repo/migrations/20171024090137_drop_object_index.exs
new file mode 100644 (file)
index 0000000..29b4c93
--- /dev/null
@@ -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