X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20181206125616_add_tags_to_users.exs;h=7d42a0fba47b900e39c15f852fa4875076fd67ae;hb=e4e3fd7e5552db274655d58bbbec1e4faabf7ccd;hp=1502f63b6b62e1aa674ea887f673b06d9ab02add;hpb=94ac0075bf4cd968e45f8d848263f9824ce79acc;p=akkoma diff --git a/priv/repo/migrations/20181206125616_add_tags_to_users.exs b/priv/repo/migrations/20181206125616_add_tags_to_users.exs index 1502f63b6..7d42a0fba 100644 --- a/priv/repo/migrations/20181206125616_add_tags_to_users.exs +++ b/priv/repo/migrations/20181206125616_add_tags_to_users.exs @@ -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