Merge branch 'fix/gopher-respect-ip' into 'develop'
[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 index(:users, [:tags], using: :gin)
10 end
11 end