Merge develop
[akkoma] / priv / repo / migrations / 20181206125616_add_tags_to_users.exs
index 1502f63b6b62e1aa674ea887f673b06d9ab02add..7d42a0fba47b900e39c15f852fa4875076fd67ae 100644 (file)
@@ -6,6 +6,6 @@ defmodule Pleroma.Repo.Migrations.AddTagsToUsers do
       add :tags, {:array, :string}
     end
 
-    create index(:users, [:tags], using: :gin)
+    create_if_not_exists index(:users, [:tags], using: :gin)
   end
 end