blob: a46c0fc35acd50d01509e9a778b4d0e065dfe4d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
defmodule Pleroma.Repo.Migrations.AddTagsToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:tags, {:array, :string})
end
create_if_not_exists(index(:users, [:tags], using: :gin))
end
end
|