Merge branch 'release/1.1.1' into 'stable'
[akkoma] / priv / repo / migrations / 20181206125616_add_tags_to_users.exs
1 defmodule Pleroma.Repo.Migrations.AddTagsToUsers do
2 use Ecto.Migration
3
4 def change do
5 alter table(:users) do
6 add :tags, {:array, :string}
7 end
8
9 create_if_not_exists index(:users, [:tags], using: :gin)
10 end
11 end