279 B · text History 4b6fe3b
defmodule OhMyExOhIrcd.Repo.Migrations.AddModesToChannels do
  use Ecto.Migration

  def change do
    alter table(:channels) do
      # Serialized channel state: key, limit, flag list, ban/except/invite masks.
      add :modes, :map, default: %{}, null: false
    end
  end
end