backy v0.0.14 Mix.Tasks.Backy.CreateMigration
This is an alternative to mix backy.setup
. Instead of creating the backy
table directly, this task generates an Ecto migration you can
use in your project.
Usage (with defaults):
mix backy.create_migration --path=priv/repo/migrations/ --name=backy_setup --repo=MyApp.Repo --table=jobs
Summary
Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.