defmodule DaProductApp.Repo.Migrations.AlterTransactionsPhase3 do use Ecto.Migration def change do alter table(:transactions) do add :failure_code, :string add :deemed, :boolean, default: false, null: false add :chktxn_requested_at, :utc_datetime add :reversal_requested_at, :utc_datetime add :finalized_at, :utc_datetime end create index(:transactions, [:deemed]) end end