# `PhoenixMountable.Migrations.Context`
[🔗](https://github.com/hattoriai/phoenix_mountable/blob/v0.2.1/lib/phoenix_mountable/migrations.ex#L2)

What a library's migration version receives.

  * `:repo`, `:adapter` (`:postgres`, `:mysql` or `:sqlite`), `:prefix`
  * `:library` — the library's tracking name
  * `:version` — the version being run
  * `:install_options` — the options recorded at install time, with string
    keys and values (as stored), such as `%{"primary_key" => "binary_id"}`
  * `:backfills` — how backfills run in this migration: `:inline` or
    `:deferred` (see `PhoenixMountable.Backfill`)
  * `:opts` — the options given to `up/1` or `down/1`

# `t`

```elixir
@type t() :: %PhoenixMountable.Migrations.Context{
  adapter: :postgres | :mysql | :sqlite,
  backfills: :inline | :deferred | nil,
  install_options: map(),
  library: String.t(),
  migrations: module(),
  opts: keyword(),
  prefix: String.t() | nil,
  repo: module(),
  version: non_neg_integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
