Installs HawkEx migrations into a Phoenix application.
mix hawk_ex.installThis task:
- Copies HawkEx migration templates into
priv/repo/migrations/. - Prints the configuration block to add to
config/config.exs. - Prints the next steps required to finish setup.
Options
--repo- repo module used when naming migration modules. Defaults to the current Mix application name plus.Repo.
Example
mix hawk_ex.install
mix hawk_ex.install --repo MyApp.Repo
Summary
Functions
Callback implementation for Mix.Task.run/1.
Functions
Callback implementation for Mix.Task.run/1.