mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-06-25 16:40:37 +00:00
12 lines
234 B
Elixir
12 lines
234 B
Elixir
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
|