352 B · text History 4b6fe3b
defmodule OhMyExOhIrcd.Repo.Migrations.AddVhostToUsers do
  use Ecto.Migration

  # Persistent operator-assigned virtual host. When set, it overrides the
  # hashed-IP cloak in the user's `nick!user@host` prefix on every
  # connection. NULL means "use the cloak".
  def change do
    alter table(:users) do
      add :vhost, :string
    end
  end
end