# `mix etcher.gen.migration`
[🔗](https://github.com/alexdont/etcher/blob/v0.1.0/lib/mix/tasks/etcher.gen.migration.ex#L1)

Generates a migration that creates the `etcher_annotations` table used by
`Etcher.Storage.Default`.

    mix etcher.gen.migration

The migration is written into the consumer's `priv/repo/migrations/`
directory with a timestamped filename, just like `mix ecto.gen.migration`.

## Options

  * `-r`, `--repo` — the Repo module to target. Defaults to the first repo
    in your Mix project's `:ecto_repos` config.

## After running

    mix ecto.migrate

Consumers who roll their own annotation schema can skip this generator
entirely and implement the `Etcher.Storage` behaviour against their own
table.

---

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