defmodule VavPipeline.Repo.Migrations.BedikotRebukes do use Ecto.Migration @moduledoc """ Hocheach tochiach (bishe'arecha §VII): at the gate a lo_tov reply may be rebuked once and answered again. The second examination's record points at the first — `rebukes` holds the first bedikah_ref. Both rows stand; the correction does not persist in the model, the record does. Append-only. """ def change do alter table(:bedikot) do add :rebukes, :string end create index(:bedikot, [:rebukes]) end end