X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20181206125616_add_tags_to_users.exs;h=a46c0fc35acd50d01509e9a778b4d0e065dfe4d4;hb=19eb8264249ff41a516834fc0728cf652cafb6b9;hp=7d42a0fba47b900e39c15f852fa4875076fd67ae;hpb=ce827a1626a56ce8574cf13d29c6a3d799d3e80d;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 7d42a0fba..a46c0fc35 100644 --- a/priv/repo/migrations/20181206125616_add_tags_to_users.exs +++ b/priv/repo/migrations/20181206125616_add_tags_to_users.exs @@ -3,9 +3,9 @@ defmodule Pleroma.Repo.Migrations.AddTagsToUsers do def change do alter table(:users) do - add :tags, {:array, :string} + add(:tags, {:array, :string}) end - create_if_not_exists index(:users, [:tags], using: :gin) + create_if_not_exists(index(:users, [:tags], using: :gin)) end end