Fix migration.
authorlain <lain@soykaf.club>
Tue, 27 Mar 2018 17:59:54 +0000 (19:59 +0200)
committerlain <lain@soykaf.club>
Tue, 27 Mar 2018 17:59:54 +0000 (19:59 +0200)
priv/repo/migrations/20180327175831_actually_drop_local_index.exs [new file with mode: 0644]

diff --git a/priv/repo/migrations/20180327175831_actually_drop_local_index.exs b/priv/repo/migrations/20180327175831_actually_drop_local_index.exs
new file mode 100644 (file)
index 0000000..2da6568
--- /dev/null
@@ -0,0 +1,8 @@
+defmodule Pleroma.Repo.Migrations.ActuallyDropLocalIndex do
+  use Ecto.Migration
+
+  def change do
+    create index(:users, [:local])
+    drop_if_exists index("activities", :local)
+  end
+end